[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 21:26:20 UTC 2012


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

 * owner:   => ryan
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [19729]:
 {{{
 #!CommitTicketReference repository="" revision="19729"
 Use wp_cache_add() instead of wp_cache_set() when priming the object term
 cache in update_object_term_cache(). Pass the real post_type to
 clean_object_term_cache() instead of hard-coding post. Call
 clean_object_term_cache() from clean_bookmark_cache(). Props leewillis77.
 fixes #19690
 }}}

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


More information about the wp-trac mailing list