[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
Wed Jan 11 18:33:11 UTC 2012


#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:  3.4
Component:  Cache         |     Version:  3.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by ryan):

 That's been using wp_cache_set() since it was introduced in [6243]. It
 could probably change to add, but plugin use of update_object_term_cache()
 would have to be investigated.

 BTW, get_posts() has a cache_results argument specifically to disable
 updating these caches.

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


More information about the wp-trac mailing list