Remove unused variables. props GaryJ. fixes #23789.
git-svn-id: http://core.svn.wordpress.org/trunk@23712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f41b21f4f6
commit
63dfa74c9f
|
@ -549,22 +549,9 @@ function wp_nav_menu_disabled_check( $nav_menu_selected_id ) {
|
||||||
*/
|
*/
|
||||||
function wp_nav_menu_item_link_meta_box() {
|
function wp_nav_menu_item_link_meta_box() {
|
||||||
global $_nav_menu_placeholder, $nav_menu_selected_id;
|
global $_nav_menu_placeholder, $nav_menu_selected_id;
|
||||||
|
|
||||||
$_nav_menu_placeholder = 0 > $_nav_menu_placeholder ? $_nav_menu_placeholder - 1 : -1;
|
$_nav_menu_placeholder = 0 > $_nav_menu_placeholder ? $_nav_menu_placeholder - 1 : -1;
|
||||||
|
|
||||||
$current_tab = 'create';
|
|
||||||
if ( isset( $_REQUEST['customlink-tab'] ) && in_array( $_REQUEST['customlink-tab'], array('create', 'all') ) ) {
|
|
||||||
$current_tab = $_REQUEST['customlink-tab'];
|
|
||||||
}
|
|
||||||
|
|
||||||
$removed_args = array(
|
|
||||||
'action',
|
|
||||||
'customlink-tab',
|
|
||||||
'edit-menu-item',
|
|
||||||
'menu-item',
|
|
||||||
'page-tab',
|
|
||||||
'_wpnonce',
|
|
||||||
);
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<div class="customlinkdiv" id="customlinkdiv">
|
<div class="customlinkdiv" id="customlinkdiv">
|
||||||
<input type="hidden" value="custom" name="menu-item[<?php echo $_nav_menu_placeholder; ?>][menu-item-type]" />
|
<input type="hidden" value="custom" name="menu-item[<?php echo $_nav_menu_placeholder; ?>][menu-item-type]" />
|
||||||
|
|
Loading…
Reference in New Issue