[wp-trac] [WordPress Trac] #17548: wp_trash_post() does not call update_post_count()

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 26 22:24:48 UTC 2011


#17548: wp_trash_post() does not call update_post_count()
--------------------------------------------------+---------------------
 Reporter:  joehoyle                              |       Owner:  ryan
     Type:  defect (bug)                          |      Status:  closed
 Priority:  normal                                |   Milestone:  3.3
Component:  Taxonomy                              |     Version:  3.2
 Severity:  normal                                |  Resolution:  fixed
 Keywords:  has-patch dev-feedback needs-testing  |
--------------------------------------------------+---------------------
Changes (by ryan):

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


Comment:

 In [18783]:
 {{{
 #!CommitTicketReference repository="" revision="18783"
 Count only published posts when updating term counts.  Fire term count
 updates on transition_post_status.  Props joehoyle. fixes #17548
 }}}

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


More information about the wp-trac mailing list