X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/4f9d63e13cd8c6e275797c75b401b074b82937bc..refs/tags/wordpress-3.4.2-scripts:/wp-admin/options-head.php diff --git a/wp-admin/options-head.php b/wp-admin/options-head.php index 965615fd..066caafb 100644 --- a/wp-admin/options-head.php +++ b/wp-admin/options-head.php @@ -11,6 +11,9 @@ wp_reset_vars(array('action', 'standalone', 'option_group_id')); -settings_errors(); +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'); +} -?> \ No newline at end of file +settings_errors();