[wp-trac] [WordPress Trac] #22560: Cache invalidation in wp_set_object_terms
WordPress Trac
noreply at wordpress.org
Fri Nov 23 18:22:14 UTC 2012
#22560: Cache invalidation in wp_set_object_terms
--------------------------+------------------------------
Reporter: batmoo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: trunk
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by scribu):
The `$taxonomy . '_relationships'` cache is set in get_the_terms(), which
only works for posts.
So, the cache is cleared in wp_set_post_terms(), which only works for
posts.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22560#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list