WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/15/2013 05:08:04 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Remove unused variables. props GaryJ. fixes #23789.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/nav-menu.php

    r23707 r23712  
    550550function wp_nav_menu_item_link_meta_box() {
    551551    global $_nav_menu_placeholder, $nav_menu_selected_id;
     552
    552553    $_nav_menu_placeholder = 0 > $_nav_menu_placeholder ? $_nav_menu_placeholder - 1 : -1;
    553 
    554     $current_tab = 'create';
    555     if ( isset( $_REQUEST['customlink-tab'] ) && in_array( $_REQUEST['customlink-tab'], array('create', 'all') ) ) {
    556         $current_tab = $_REQUEST['customlink-tab'];
    557     }
    558 
    559     $removed_args = array(
    560         'action',
    561         'customlink-tab',
    562         'edit-menu-item',
    563         'menu-item',
    564         'page-tab',
    565         '_wpnonce',
    566     );
    567554
    568555    ?>
Note: See TracChangeset for help on using the changeset viewer.