CoreFiles by mySites.guru
options-head.php19 lines, 589 bytes, from wordpress-3.5.zip
Raw History Compare with 3.4.2
md5
90112e025a7f0eb217f39088d755580f
sha1
eeb1facb12052bb8cf6f508c3b582c3f157abc8c
sha256
b3ab4e7436f076f1cbadb7c1e58964bdb0ae5c5a7f9b4987b43edbabfd1c5ba7
<?php
/**
 * WordPress Options Header.
 *
 * Resets variables: 'action', 'standalone', and 'option_group_id'. Displays
 * updated message, if updated variable is part of the URL query.
 *
 * @package WordPress
 * @subpackage Administration
 */

wp_reset_vars(array('action', 'standalone', 'option_group_id'));

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();

The same content is in 21 releases, WordPress 3.4-beta1 to 3.5.2. See them all, or every version of this file.