X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/80b7979fccf09a75af3f4c111fa27060ae6dbf85..b22765f41bf0b2021b9beb9120ee0ac91fa89292:/wp-admin/options-head.php diff --git a/wp-admin/options-head.php b/wp-admin/options-head.php index 066caafb..bee3ae7e 100644 --- a/wp-admin/options-head.php +++ b/wp-admin/options-head.php @@ -2,17 +2,16 @@ /** * WordPress Options Header. * - * Resets variables: 'action', 'standalone', and 'option_group_id'. Displays - * updated message, if updated variable is part of the URL query. + * Displays updated message, if updated variable is part of the URL query. * * @package WordPress * @subpackage Administration */ -wp_reset_vars(array('action', 'standalone', 'option_group_id')); +wp_reset_vars( array( 'action' ) ); if ( isset( $_GET['updated'] ) && isset( $_GET['page'] ) ) { - // For backwards compat with plugins that don't use the Settings API and just set updated=1 in the redirect + // For back-compat with plugins that don't use the Settings API and just set updated=1 in the redirect. add_settings_error('general', 'settings_updated', __('Settings saved.'), 'updated'); }