[wp-hackers] get_post() not fetching from post cache after update_post_caches()
william.canino at googlemail.com
Thu Oct 1 05:39:50 UTC 2009
WordPress wizards, would you have a look at this code:
$my_query = new WP_Query(array('post__in' => array(1,2,3)));
Do you know why WordPress is still making SQL queries on lines 3 and
4? Shouldn't they be already in the object cache?
More information about the wp-hackers