Don't update term or meta cache for posts queried in wp_nav_menu_item_post_type_meta_box(). see #12734

git-svn-id: http://svn.automattic.com/wordpress/trunk@14568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-05-11 18:43:12 +00:00
parent bdb53fa4c3
commit 345af3eb47
1 changed files with 2 additions and 0 deletions

View File

@ -484,6 +484,8 @@ function wp_nav_menu_item_post_type_meta_box( $object, $post_type ) {
'posts_per_page' => $per_page,
'post_type' => $post_type_name,
'suppress_filters' => true,
'update_post_term_cache' => false,
'update_post_meta_cache' => false
);
if ( isset( $post_type['args']->_default_query ) )