CoreFiles by mySites.guru
options-head.php18 lines, 492 bytes, from wordpress-5.4.21.zip
Raw History Compare with 5.4.20
md5
dd6356384123683a65d7ad2ff20bbf5e
sha1
ec722496b875a8c3f60c5601f30aee69ec9a8aa4
sha256
fba06b016828f25df7451e9b7c80fbda5f03fcc789cfaa5cce6eac4bc2a286b0
<?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.' ), 'success' );
}

settings_errors();

The same content is in 391 releases, WordPress 5.3-beta1 to 6.5.14. See them all, or every version of this file.