[wp-trac] [WordPress Trac] #42522: Terms are uselessly counted when saving a post

WordPress Trac noreply at wordpress.org
Mon Nov 13 08:50:11 UTC 2017


#42522: Terms are uselessly counted when saving a post
--------------------------+------------------------------
 Reporter:  Chouby        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Taxonomy      |     Version:  3.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  performance
--------------------------+------------------------------
Changes (by Chouby):

 * keywords:  has-patch reporter-feedback => has-patch


Comment:

 In that case, `wp_set_object_terms` calls `wp_update_term_count`, so the
 term count should be correctly udpated.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42522#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list