X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/177fd6fefd2e3d5a0ea6591c71d660cabdb3c1a4..9441756a895fb4fdc4bcf20e0d228cef622663ca:/wp-admin/options-head.php diff --git a/wp-admin/options-head.php b/wp-admin/options-head.php index 779edca4..1c706c87 100644 --- a/wp-admin/options-head.php +++ b/wp-admin/options-head.php @@ -1,5 +1,18 @@ - + -

- \ No newline at end of file +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 + add_settings_error('general', 'settings_updated', __('Settings saved.'), 'updated'); +} + +settings_errors();