[wp-trac] [WordPress Trac] #22560: Cache invalidation in wp_set_object_terms
WordPress Trac
noreply at wordpress.org
Fri Nov 23 18:02:23 UTC 2012
#22560: Cache invalidation in wp_set_object_terms
-----------------------------+--------------------------
Reporter: batmoo | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Taxonomy
Version: | Severity: normal
Keywords: |
-----------------------------+--------------------------
In [21981], cache invalidation was added to {{{wp_set_post_terms}}}.
Should this not actually go in {{{wp_set_object_terms}}} instead?
The current cache invalidation routine means that a call to
{{{wp_set_object_terms}}} and then a subsequent call to get_the_terms will
result in stale cache entry returned.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22560>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list