[wp-trac] [WordPress Trac] #16182: object_term_cache is never cleared for custom post types with non-shared taxonomy

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 10 22:47:57 UTC 2011


#16182: object_term_cache is never cleared for custom post types with non-shared
taxonomy
--------------------------+-----------------------------
 Reporter:  prettyboymp   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.1
 Severity:  major         |   Keywords:
--------------------------+-----------------------------
 wp_insert_post() calls clean_post_cache() after updating the post.
 However, when clean_object_term_cache() is called, it passes is hard coded
 to pass in the post_type of 'post'.  So the object_term_cache is never
 cleared for any taxonomies that are part of the post object type's
 taxonomies.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16182>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list