Sha256: 5fd64d81a9f316a2682dea47379b516583d469b17f448b48c8724b21e5697f07

Contents?: true

Size: 492 Bytes

Versions: 6

Compression:

Stored size: 492 Bytes

Contents

<?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();

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
boot-cli-1.0.0 lib/templates/wordpress/wp-admin/options-head.php
boot-cli-0.3.1 lib/templates/wordpress/wp-admin/options-head.php
boot-cli-0.3.0 lib/templates/wordpress/wp-admin/options-head.php
stump-cli-0.1.3 lib/wp/wp-admin/options-head.php
stump-cli-0.1.2 lib/wp/wp-admin/options-head.php
stump-cli-0.1.1 lib/wp/wp-admin/options-head.php