X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/7688c6ba71852cd89123b62b2d57683535e4702a..607b7e02d77e7326161e8ec15639052d2040f745:/wp-admin/options-head.php diff --git a/wp-admin/options-head.php b/wp-admin/options-head.php index 11d82e87..bee3ae7e 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 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'); +} + +settings_errors();