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

git-svn-id: http://core.svn.wordpress.org/trunk@23445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin
2013-02-16 18:28:41 +00:00
parent 2a956dd5b7
commit 83e0ce2ac1
9 changed files with 10 additions and 17 deletions

View File

@@ -15,10 +15,7 @@ if ( ! current_user_can('manage_links') )
$title = __('Add New Link');
$parent_file = 'link-manager.php';
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[]'));
wp_reset_vars( array('action', 'cat_id', 'link_id' ) );
wp_enqueue_script('link');
wp_enqueue_script('xfn');