X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/449d082fcc4873c1f7d363a0d9f7409be7f6e77d..refs/tags/wordpress-3.3.1-scripts:/wp-admin/options-head.php diff --git a/wp-admin/options-head.php b/wp-admin/options-head.php index 14a177c3..7f2cc74d 100644 --- a/wp-admin/options-head.php +++ b/wp-admin/options-head.php @@ -10,8 +10,12 @@ */ wp_reset_vars(array('action', 'standalone', 'option_group_id')); -?> - -

- \ No newline at end of file +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(); + +?> \ No newline at end of file