mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 18:13:00 +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: https://develop.svn.wordpress.org/trunk@14568 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
411f09b811
commit
73d2946dfa
@ -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…
x
Reference in New Issue
Block a user