diff --git a/wp-admin/includes/nav-menu.php b/wp-admin/includes/nav-menu.php index 4bba6dd7f..71c496157 100644 --- a/wp-admin/includes/nav-menu.php +++ b/wp-admin/includes/nav-menu.php @@ -556,7 +556,9 @@ function wp_nav_menu_item_post_type_meta_box( $object, $post_type ) { if ( !$posts ) $error = '
  • '. $post_type['args']->labels->not_found .'
  • '; - $current_tab = 'all'; + $walker = new Walker_Nav_Menu_Checklist; + + $current_tab = 'most-recent'; if ( isset( $_REQUEST[$post_type_name . '-tab'] ) && in_array( $_REQUEST[$post_type_name . '-tab'], array('all', 'search') ) ) { $current_tab = $_REQUEST[$post_type_name . '-tab']; } @@ -577,10 +579,24 @@ function wp_nav_menu_item_post_type_meta_box( $object, $post_type ) { ?>
    +
    + +
    +
    @@ -907,7 +921,6 @@ function _wp_nav_menu_meta_box_object( $object = null ) { if ( 'attachment' == $object->name ) return false; - // pages should show most recent if ( 'page' == $object->name ) { $object->_default_query = array( 'orderby' => 'menu_order title',