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

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 21 21:38:20 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  |
--------------------------------------------------+---------------------

Comment (by nacin):

 In [19035]:
 {{{
 #!CommitTicketReference repository="" revision="19035"
 Separate non-post term counting from _update_post_term_count(). Introduce
 _update_generic_term_count(). The generic handler will be the default
 whenever the taxonomy is attached to an object type other than a post type
 (link, user). Otherwise the _update_post_term_count() handler will be the
 default. fixes #18986. see #17548.
 }}}

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


More information about the wp-trac mailing list