[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 21:01:27 UTC 2011


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

Comment (by joehoyle):

 Yup, that sounds ok, I put != trash as it was just a direct reply "dont
 include trash". Why was the default there in the first place? (as opposed
 to always calling `_update_post_term_count `?

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


More information about the wp-trac mailing list