X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/ff81ee6e8304a1982a3ec4f5b134764a29d502cf..refs/heads/pristine:/wp-admin/options-head.php
diff --git a/wp-admin/options-head.php b/wp-admin/options-head.php
index 579da0a3..bee3ae7e 100644
--- a/wp-admin/options-head.php
+++ b/wp-admin/options-head.php
@@ -1,24 +1,18 @@
+wp_reset_vars( array( 'action' ) );
-
+if ( isset( $_GET['updated'] ) && isset( $_GET['page'] ) ) {
+ // 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');
+}
-
-