CoreFiles by mySites.guru
options-head.php18 lines, 492 bytes, from wordpress-5.2.21.zip
Raw History Compare with 5.2.20
md5
20d4afe227f06962263cfbc2d03523a5
sha1
2e94aa2102b4d353a49bc4810ae4a17e677aabea
sha256
830a5a4557004a17f3dc036fbf681bb2d5e157b4f0d3361cac0c9d65b2381fb8
<?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 76 releases, WordPress 5.1-beta1 to 5.2.30. See them all, or every version of this file.