Make WordPress Core


Ignore:
Timestamp:
02/16/2013 06:28:41 PM (12 years ago)
Author:
nacin
Message:

Remove unused variables reset by wp_reset_vars(). Many of these haven't been used since b2. see #21767.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-head.php

    r19712 r23445  
    33 * WordPress Options Header.
    44 *
    5  * Resets variables: 'action', 'standalone', and 'option_group_id'. Displays
    6  * updated message, if updated variable is part of the URL query.
     5 * Displays updated message, if updated variable is part of the URL query.
    76 *
    87 * @package WordPress
     
    109 */
    1110
    12 wp_reset_vars(array('action', 'standalone', 'option_group_id'));
     11wp_reset_vars( array( 'action' ) );
    1312
    1413if ( isset( $_GET['updated'] ) && isset( $_GET['page'] ) ) {
Note: See TracChangeset for help on using the changeset viewer.