Make WordPress Core

Changeset 15007


Ignore:
Timestamp:
05/27/2010 10:17:58 PM (16 years ago)
Author:
nacin
Message:

Remove some dead code. props ocean90, see #13525.

File:
1 edited

Legend:

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

    r14994 r15007  
    433433        $_nav_menu_placeholder = 0 > $_nav_menu_placeholder ? $_nav_menu_placeholder - 1 : -1;
    434434
    435         // @note: hacky query, see #12660
    436         $args = array( 'post_type' => 'nav_menu_item', 'post_status' => 'any', 'meta_key' => '_menu_item_type', 'numberposts' => -1, 'orderby' => 'title', );
    437 
    438         // @todo transient caching of these results with proper invalidation on updating links
    439         $links = get_posts( $args );
    440 
    441435        $current_tab = 'create';
    442436        if ( isset( $_REQUEST['customlink-tab'] ) && in_array( $_REQUEST['customlink-tab'], array('create', 'all') ) ) {
Note: See TracChangeset for help on using the changeset viewer.