Make WordPress Core


Ignore:
Timestamp:
04/29/2010 06:11:44 AM (15 years ago)
Author:
nacin
Message:

Remove unnecessary single tab and second border in the custom links nav menu widget.

File:
1 edited

Legend:

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

    r14291 r14292  
    417417    ?>
    418418    <div class="customlinkdiv">
    419         <ul id="customlink-tabs" class="customlink-tabs add-menu-item-tabs">
    420             <li <?php echo ( 'create' == $current_tab ? ' class="tabs"' : '' ); ?>><a class="nav-tab-link" href="<?php echo add_query_arg('customlink-tab', 'create', remove_query_arg($removed_args)); ?>#tabs-panel-create-custom"><?php _e('Create New'); ?></a></li>
    421         </ul>
    422 
    423         <div class="tabs-panel <?php
    424             echo ( 'create' == $current_tab ? 'tabs-panel-active' : 'tabs-panel-inactive' );
    425         ?>" id="tabs-panel-create-custom">
     419
    426420            <input type="hidden" value="custom" name="menu-item[<?php echo $_nav_menu_placeholder; ?>][menu-item-type]" />
    427421            <p id="menu-item-url-wrap">
     
    438432                </label>
    439433            </p>
    440         </div><!-- /.tabs-panel -->
    441434
    442435        <p class="button-controls">
Note: See TracChangeset for help on using the changeset viewer.