Make WordPress Core


Ignore:
Timestamp:
06/14/2010 07:52:30 PM (14 years ago)
Author:
nacin
Message:

Revert [15219], [15250], some of [15249] for 3.0, revisit in 3.0.1. see #13822.

File:
1 edited

Legend:

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

    r15219 r15254  
    328328
    329329            if ( ! is_wp_error( $_menu_object ) ) {
    330                 $unsorted_menu_items = wp_get_nav_menu_items( $nav_menu_selected_id, array('orderby' => 'ID', 'output' => ARRAY_A, 'output_key' => 'ID', 'post_status' => 'draft,pending,publish') );
     330                $unsorted_menu_items = wp_get_nav_menu_items( $nav_menu_selected_id, array('orderby' => 'ID', 'output' => ARRAY_A, 'output_key' => 'ID', 'post_status' => 'draft,publish') );
    331331                $menu_items = array();
    332332                // Index menu items by db ID
     
    334334                    $menu_items[$_item->db_id] = $_item;
    335335
    336                 $post_fields = array( 'menu-item-db-id', 'menu-item-object-id', 'menu-item-object', 'menu-item-parent-id', 'menu-item-position', 'menu-item-type', 'menu-item-title', 'menu-item-url', 'menu-item-description', 'menu-item-attr-title', 'menu-item-status', 'menu-item-target', 'menu-item-classes', 'menu-item-xfn' );
     336                $post_fields = array( 'menu-item-db-id', 'menu-item-object-id', 'menu-item-object', 'menu-item-parent-id', 'menu-item-position', 'menu-item-type', 'menu-item-title', 'menu-item-url', 'menu-item-description', 'menu-item-attr-title', 'menu-item-target', 'menu-item-classes', 'menu-item-xfn' );
    337337                wp_defer_term_counting(true);
    338338                // Loop through all the menu items' POST variables
Note: See TracChangeset for help on using the changeset viewer.