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-add.php

    r20433 r23445  
    1616$parent_file = 'link-manager.php';
    1717
    18 wp_reset_vars(array('action', 'cat_id', 'linkurl', 'name', 'image',
    19     'description', 'visible', 'target', 'category', 'link_id',
    20     'submit', 'order_by', 'links_show_cat_id', 'rating', 'rel',
    21     'notes', 'linkcheck[]'));
     18wp_reset_vars( array('action', 'cat_id', 'link_id' ) );
    2219
    2320wp_enqueue_script('link');
Note: See TracChangeset for help on using the changeset viewer.