[wp-trac] [WordPress Trac] #14090: the_tags never caches

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 25 18:07:14 UTC 2010


#14090: the_tags never caches
--------------------------+-------------------------------------------------
 Reporter:  luke83        |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Taxonomy      |     Version:  3.0            
 Severity:  normal        |    Keywords:  cache, tags    
--------------------------+-------------------------------------------------

Comment(by ryan):

 If the posts in question weren't fetched with get_posts() then that will
 happen.  Posts fetched with get_posts() will call
 update_object_term_cache() so that taxonomy for all posts can be retrieved
 with one query.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14090#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list