[wp-trac] [WordPress Trac] #12989: Object term cache not updated for custom post types

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 14 15:02:22 UTC 2010


#12989: Object term cache not updated for custom post types
--------------------------+-------------------------------------------------
 Reporter:  greenshady    |       Owner:  ryan
     Type:  defect (bug)  |      Status:  new 
 Priority:  normal        |   Milestone:  3.0 
Component:  Cache         |     Version:  3.0 
 Severity:  normal        |    Keywords:      
--------------------------+-------------------------------------------------

Comment(by ryan):

 When WP_Query::get_posts() calls update_post_caches() it should probably
 pass along the post type. update_post_caches() would need to know how to
 handle multiple post type queries and the 'any' post type (perhaps just
 not try to cache those).  Attached is an untested start on a patch.

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


More information about the wp-trac mailing list