[ Index ]

PHP Cross Reference of WordPress

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


Generated: Fri May 25 03:56:23 2012 Hosted by follow the white rabbit.