[ XREF Home ] [ Index ]

PHP Cross Reference of WordPress Trunk

Provided by Yoast

title

Body

[close]

/wp-admin/ -> options-head.php (source)

   1  <?php
   2  /**
   3   * WordPress Options Header.
   4   *
   5   * Resets variables: 'action', 'standalone', and 'option_group_id'. Displays
   6   * updated message, if updated variable is part of the URL query.
   7   *
   8   * @package WordPress
   9   * @subpackage Administration
  10   */
  11  
  12  wp_reset_vars(array('action', 'standalone', 'option_group_id'));
  13  
  14  if ( isset( $_GET['updated'] ) && isset( $_GET['page'] ) ) {
  15      // For backwards compat with plugins that don't use the Settings API and just set updated=1 in the redirect
  16      add_settings_error('general', 'settings_updated', __('Settings saved.'), 'updated');
  17  }
  18  
  19  settings_errors();
  20  
  21  ?>


Generated: Wed Jun 1 08:30:02 2011 Cross-referenced by PHPXref 0.7
Provided by Yoast and awesome WordPress Hosting