Do not load Taxonomy cache & Postmeta cache in get_boundary_post(). Fixes #15028

git-svn-id: https://develop.svn.wordpress.org/trunk@15701 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dion Hulse 2010-10-04 09:17:18 +00:00
parent d837eb9f8f
commit 3d2e3625d4

View File

@ -1176,7 +1176,7 @@ function get_boundary_post($in_same_cat = false, $excluded_categories = '', $sta
$order = $start ? 'ASC' : 'DESC';
return get_posts( array('numberposts' => 1, 'category' => $categories, 'order' => $order) );
return get_posts( array('numberposts' => 1, 'category' => $categories, 'order' => $order, 'update_post_term_cache' => false, 'update_post_meta_cache' => false) );
}
/**