diff --git a/wp-admin/includes/nav-menu.php b/wp-admin/includes/nav-menu.php
index 0dbcb0c..4cf8811 100644
|
a
|
b
|
function wp_nav_menu_item_post_type_meta_box( $object, $post_type ) { |
| 621 | 621 | |
| 622 | 622 | // @todo transient caching of these results with proper invalidation on updating of a post of this type |
| 623 | 623 | $get_posts = new WP_Query; |
| 624 | | $posts = $get_posts->query( $args ); |
| | 624 | $posts = $get_posts->query( array_merge( $args, array( 'nopaging' => true ) ) ); |
| 625 | 625 | if ( ! $get_posts->post_count ) { |
| 626 | 626 | echo '<p>' . __( 'No items.' ) . '</p>'; |
| 627 | 627 | return; |