[wp-trac] [WordPress Trac] #18631: wp_set_object_terms() should only wp_update_term_count() for affected terms

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 18 21:01:57 UTC 2011


#18631: wp_set_object_terms() should only wp_update_term_count() for affected terms
------------------------------------+---------------------
 Reporter:  jeremyclarke            |       Owner:  ryan
     Type:  defect (bug)            |      Status:  closed
 Priority:  normal                  |   Milestone:  3.3
Component:  Taxonomy                |     Version:
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  has-patch dev-feedback  |
------------------------------------+---------------------
Changes (by ryan):

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


Comment:

 In [18999]:
 {{{
 #!CommitTicketReference repository="" revision="18999"
 Call wp_update_term_count() only for those terms that have been added to
 or removed from the object.  Props jeremyclarke. fixes #18631
 }}}

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


More information about the wp-trac mailing list