From 345af3eb4771da63f5f26bdeb1c8b070d248085a Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 11 May 2010 18:43:12 +0000 Subject: [PATCH] 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 --- wp-admin/includes/nav-menu.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-admin/includes/nav-menu.php b/wp-admin/includes/nav-menu.php index 635371f42a..09c7aa9c80 100644 --- a/wp-admin/includes/nav-menu.php +++ b/wp-admin/includes/nav-menu.php @@ -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 ) )