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/post.php

    r22725 r23445  
    1515$submenu_file = 'edit.php';
    1616
    17 wp_reset_vars(array('action', 'safe_mode', 'withcomments', 'posts', 'content', 'edited_post_title', 'comment_error', 'profile', 'trackback_url', 'excerpt', 'showcomments', 'commentstart', 'commentend', 'commentorder'));
     17wp_reset_vars( array( 'action' ) );
    1818
    1919if ( isset( $_GET['post'] ) )
Note: See TracChangeset for help on using the changeset viewer.