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

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 29 05:26:38 UTC 2011


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

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Looks like this broke Matt's community tags plugin, which puts tags on
 attachments. Attachments have a post_status of inherit.

 Reverting immediately, since this is (very) destructive. We can still look
 into a solution, whether it's attachment-aware or simply does != trash.
 Might need to tweak _update_post_term_count() or revert that out.

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


More information about the wp-trac mailing list