[wp-trac] [WordPress Trac] #14485: Taxonomy hierarchy cache isn't properly refreshed
WordPress Trac
noreply at wordpress.org
Tue Feb 11 16:49:12 UTC 2014
#14485: Taxonomy hierarchy cache isn't properly refreshed
----------------------------------+-----------------------------
Reporter: thealien | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: high | Milestone: 3.9
Component: Cache API | Version: 2.7
Severity: normal | Resolution: fixed
Keywords: has-patch needs-docs | Focuses:
----------------------------------+-----------------------------
Changes (by wonderboymusic):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"27163"]:
{{{
#!CommitTicketReference repository="" revision="27163"
Partially revert [27101], [27102], [27141], and [27142]. Those commits
introduced new functions to sync up cache invalidation events. The current
commit alters existing internals.
"The cache invalidation with static was introduced in r9102 with version
2.7. Multisite wasn't in core back then, so something like
switch_to_blog() wasn't a concern, but now it breaks if you switch the
blog in between calls to clean_term_cache."
This solution is simpler. All unit tests pass. Removes unnecessary tests
linked to removed functions.
Props kovshenin.
Fixes #14485, #22526.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/14485#comment:85>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list