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

git-svn-id: https://develop.svn.wordpress.org/trunk@15007 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-05-27 22:17:58 +00:00
parent f0f29d7f44
commit 7ed6bc6ccb
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; global $_nav_menu_placeholder;
$_nav_menu_placeholder = 0 > $_nav_menu_placeholder ? $_nav_menu_placeholder - 1 : -1; $_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'; $current_tab = 'create';
if ( isset( $_REQUEST['customlink-tab'] ) && in_array( $_REQUEST['customlink-tab'], array('create', 'all') ) ) { if ( isset( $_REQUEST['customlink-tab'] ) && in_array( $_REQUEST['customlink-tab'], array('create', 'all') ) ) {
$current_tab = $_REQUEST['customlink-tab']; $current_tab = $_REQUEST['customlink-tab'];