X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/022dfbbbe3215917d84708eb09acca93b21ae9e0..refs/tags/wordpress-2.3.3:/wp-admin/options.php diff --git a/wp-admin/options.php b/wp-admin/options.php index bd8b2b0d..7fa05bbf 100644 --- a/wp-admin/options.php +++ b/wp-admin/options.php @@ -5,91 +5,16 @@ $title = __('Options'); $this_file = 'options.php'; $parent_file = 'options-general.php'; -$wpvarstoreset = array('action'); -for ($i=0; $iflush_rules(); - // Clear cookies for old paths. - wp_clearcookie(); - // Set cookies for new paths. - wp_setcookie($user_login, $user_pass_md5, true, get_settings('home'), get_settings('siteurl')); - } - - //$message = sprintf(__('%d setting(s) saved... '), $any_changed); - } - - $referred = remove_query_arg('updated' , wp_get_referer()); + $goback = add_query_arg('updated', 'true', wp_get_referer()); - $goback = preg_replace('|[^a-z0-9-~+_.?#=&;,/:]|i', '', $goback); wp_redirect($goback); break; @@ -145,6 +48,7 @@ default:
+

get_results("SELECT * FROM $wpdb->options ORDER BY option_name"); @@ -177,7 +81,6 @@ foreach ( (array) $options as $option) : else echo ""; echo " - "; endforeach; ?>
$option->option_description