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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user