mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 02:10:45 +01:00
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:
parent
bdb53fa4c3
commit
345af3eb47
@ -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 ) )
|
||||
|
Loading…
Reference in New Issue
Block a user