Changeset 38702
- Timestamp:
- 10/03/2016 02:34:46 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/nav-menu.php
r38672 r38702 72 72 if ( 'posttype' == $matches[1] && get_post_type_object( $matches[2] ) ) { 73 73 $post_type_obj = _wp_nav_menu_meta_box_object( get_post_type_object( $matches[2] ) ); 74 $args = array( 75 'no_found_rows' => true, 76 'update_post_meta_cache' => false, 77 'update_post_term_cache' => false, 78 'posts_per_page' => 10, 79 'post_type' => $matches[2], 80 's' => $query, 74 $args = array_merge( 75 $args, 76 array( 77 'no_found_rows' => true, 78 'update_post_meta_cache' => false, 79 'update_post_term_cache' => false, 80 'posts_per_page' => 10, 81 'post_type' => $matches[2], 82 's' => $query, 83 ) 81 84 ); 82 85 if ( isset( $post_type_obj->_default_query ) ) {
Note: See TracChangeset
for help on using the changeset viewer.