diff --git a/src/wp-admin/includes/nav-menu.php b/src/wp-admin/includes/nav-menu.php
index 44f3ee0..070a980 100644
a
|
b
|
function _wp_ajax_menu_quick_search( $request = array() ) { |
390 | 390 | if ( 'posttype' == $matches[1] && get_post_type_object( $matches[2] ) ) { |
391 | 391 | query_posts(array( |
392 | 392 | 'posts_per_page' => 10, |
393 | | 'post_type' => $matches[2], |
394 | | 's' => $query, |
| 393 | 'post_type' => $matches[2], |
| 394 | 'post_status' => 'publish', |
| 395 | 's' => $query, |
395 | 396 | )); |
396 | 397 | if ( ! have_posts() ) |
397 | 398 | return; |