CoreFiles by mySites.guru
options-head.php18 lines, 488 bytes, from wordpress-4.7.21.zip
Raw History Compare with 4.7.20
md5
9a616e7dd468d1c2499b90600e710da5
sha1
6ce48923e70c1b8c6433b5ae5f67bb0203f58550
sha256
a49216aedebfe83a09b3f3d933711e242055599aef2ec59f2d92f2cf835438e2
<?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 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();

The same content is in 231 releases, WordPress 4.6-beta1 to 5.0.31. See them all, or every version of this file.