WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/16/2013 06:28:41 PM (7 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/includes/class-wp-links-list-table.php

    r21944 r23445  
    2424        global $cat_id, $s, $orderby, $order;
    2525
    26         wp_reset_vars( array( 'action', 'cat_id', 'linkurl', 'name', 'image', 'description', 'visible', 'target', 'category', 'link_id', 'submit', 'orderby', 'order', 'links_show_cat_id', 'rating', 'rel', 'notes', 'linkcheck[]', 's' ) );
     26        wp_reset_vars( array( 'action', 'cat_id', 'link_id', 'orderby', 'order', 's' ) );
    2727
    2828        $args = array( 'hide_invisible' => 0, 'hide_empty' => 0 );
Note: See TracChangeset for help on using the changeset viewer.