[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 08:52:05 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 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".

 For bonus points we could probably deprecate clean_page_cache, by adding
 an additional

 do_action('clean_'.$post_type.'_cache', $id);

 inside clean_post_cache(), but not sure if that's desirable?

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


More information about the wp-trac mailing list