[wp-trac] [WordPress Trac] #19690: wp_suspend_cache_additions() doesn't block term_relationships being added to cache

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 8 09:05:28 UTC 2012


#19690: wp_suspend_cache_additions() doesn't block term_relationships being added
to cache
--------------------------+-----------------------
 Reporter:  leewillis77   |       Owner:  ryan
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  3.4
Component:  Cache         |     Version:  3.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------

Comment (by duck_):

 Replying to [comment:21 leewillis77]:
 > The attached patch implements that additional option, and updates all
 callers in core to pass the additional parameter. The additional parameter
 defaults to "post".

 Another issue I just noticed was the recursion in clean_post_cache().
 `$cid` is an integer, not an object, so `$cid->post_type` is incorrect.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19690#comment:23>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list