CoreFiles by mySites.guru
options-head.php18 lines, 492 bytes, from wordpress-4.4.21.zip
Raw History Compare with 4.4.20
md5
bad695605e6db04e400a546f667eb70b
sha1
0a9bf99cdf6dd40eaf5f05b3c1b00c9365be03f3
sha256
5fd64d81a9f316a2682dea47379b516583d469b17f448b48c8724b21e5697f07
<?php
/**
 * WordPress Options Header.
 *
 * Displays updated message, if updated variable is part of the URL query.
 *
 * @package WordPress
 * @subpackage Administration
 */

wp_reset_vars( array( 'action' ) );

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 414 releases, WordPress 3.6-beta1 to 4.5.33. See them all, or every version of this file.