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

    r22855 r23445  
    1313require_once ('admin.php');
    1414
    15 wp_reset_vars(array('action', 'cat_id', 'linkurl', 'name', 'image', 'description', 'visible', 'target', 'category', 'link_id', 'submit', 'order_by', 'links_show_cat_id', 'rating', 'rel', 'notes', 'linkcheck[]'));
     15wp_reset_vars( array( 'action', 'cat_id', 'link_id' ) );
    1616
    1717if ( ! current_user_can('manage_links') )
Note: See TracChangeset for help on using the changeset viewer.