3 * WordPress Options Header.
5 * Resets variables: 'action', 'standalone', and 'option_group_id'. Displays
6 * updated message, if updated variable is part of the URL query.
9 * @subpackage Administration
12 wp_reset_vars(array('action', 'standalone', 'option_group_id'));
14 if ( isset( $_GET['updated'] ) && isset( $_GET['page'] ) ) {
15 // For backwards compat with plugins that don't use the Settings API and just set updated=1 in the redirect
16 add_settings_error('general', 'settings_updated', __('Settings saved.'), 'updated');