[wp-trac] [WordPress Trac] #19690: wp_suspend_cache_additions() doesn't block term_relationships being added to cache (was: wp_suspend_cache_additions() doesn't block term_relationships with custom taxonomies)
WordPress Trac
wp-trac at lists.automattic.com
Fri Dec 30 13:02:03 UTC 2011
#19690: wp_suspend_cache_additions() doesn't block term_relationships being added
to cache
--------------------------+------------------------------
Reporter: leewillis77 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Cache | Version: 3.3
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by leewillis77):
Confirmed that this affects all taxonomies, not just custom taxonomies.
Steps to reproduce therefore are just:
1. Place the attached code (test2.php) in your theme's functions.php
2. Load your blog and then inspect your error log.
The results should show that entries have been added to the cache for
category_relationships, post_tag_relationships, and
post_format_relationships despite the call to wp_suspend_cache_addition.
Proposed patch is still the same - just clarifying the affected
taxonomies.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19690#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list