Changeset 13727
- Timestamp:
- 03/17/2010 06:33:53 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/nav-menu.php
r13726 r13727 99 99 */ 100 100 function wp_nav_menu_item_link_metabox() { 101 $args = array( 'post_status' => 'any', 'post_type' => 'nav_menu_item', 'meta_value' => 'custom' );101 $args = array( 'post_status' => 'any', 'post_type' => 'nav_menu_item', 'meta_value' => 'custom', 'showposts' => -1 ); 102 102 103 103 // @todo transient caching of these results with proper invalidation on updating links … … 146 146 */ 147 147 function wp_nav_menu_item_post_type_metabox( $object, $post_type ) { 148 $args = array( 'post_type' => $post_type['args']->name, 'post_status' => 'publish' );148 $args = array( 'post_type' => $post_type['args']->name, 'post_status' => 'publish', 'showposts' => -1 ); 149 149 150 150 if ( 'attachment' == $post_type['args']->name )
Note: See TracChangeset
for help on using the changeset viewer.