[wp-trac] [WordPress Trac] #14821: Add multiple post type support to update_object_term_cache()

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 9 20:08:00 UTC 2010


#14821: Add multiple post type support to update_object_term_cache()
-------------------------+--------------------------------------------------
 Reporter:  johnbillion  |       Owner:                 
     Type:  enhancement  |      Status:  new            
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Performance  |     Version:  3.0.1          
 Severity:  normal       |    Keywords:  has-patch      
-------------------------+--------------------------------------------------
Changes (by johnbillion):

  * keywords:  => has-patch


Comment:

 Patch.

 This patch changes `update_post_caches()` so it calls
 `update_object_term_cache()` for each post type in the $posts array if the
 $post_type parameter isn't set or it's set to 'any'.

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


More information about the wp-trac mailing list