CoreFiles by mySites.guru
options-head.php21 lines, 592 bytes, from wordpress-3.3.zip
Raw History Compare with 3.2.1
md5
92e5d51f6f3a5fce5f7fd27b58cbf9e7
sha1
bf1aebb8f4447eb457846409a72e81b92b9ce6ff
sha256
dde54ba0f2e7fb6caa97466ed21d99c9c76dbeb96bb75bda2e0ef759d20cedcf
<?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 30 releases, WordPress 3.1-beta2 to 3.3.3. See them all, or every version of this file.