"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. git-svn-id: https://develop.svn.wordpress.org/trunk@27163 602fd350-edb4-49c9-b593-d223f7449a82 |
||
---|---|---|
.. | ||
cache.php | ||
getTerms.php | ||
query.php | ||
slashes.php |