[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
Mon Apr 9 21:35:48 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 nacin):

 Would it make sense to pass the full post object to clean_post_cache()
 rather than separately passing the ID and the post type?

 I ask because the function previously called get_post() on the $id, which
 means plugins may have already been passing in objects (and it would have
 worked just fine). Could cause some problems...

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


More information about the wp-trac mailing list