Cache invalidation in wp_set_object_terms
|Reported by:||batmoo||Owned by:||ryan|
|Severity:||normal||Keywords:||has-patch commit dev-reviewed|
In , 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.
Change History (16)
- Milestone set to Awaiting Review
- Status changed from closed to reopened