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

git-svn-id: http://svn.automattic.com/wordpress/trunk@15007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-05-27 22:17:58 +00:00
parent ad95bd3f19
commit da16117198
1 changed files with 0 additions and 6 deletions

View File

@ -432,12 +432,6 @@ function wp_nav_menu_item_link_meta_box() {
global $_nav_menu_placeholder;
$_nav_menu_placeholder = 0 > $_nav_menu_placeholder ? $_nav_menu_placeholder - 1 : -1;
// @note: hacky query, see #12660
$args = array( 'post_type' => 'nav_menu_item', 'post_status' => 'any', 'meta_key' => '_menu_item_type', 'numberposts' => -1, 'orderby' => 'title', );
// @todo transient caching of these results with proper invalidation on updating links
$links = get_posts( $args );
$current_tab = 'create';
if ( isset( $_REQUEST['customlink-tab'] ) && in_array( $_REQUEST['customlink-tab'], array('create', 'all') ) ) {
$current_tab = $_REQUEST['customlink-tab'];