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

WordPress Trac wp-trac at lists.automattic.com
Sat Oct 1 22:23:23 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  |

Comment (by joehoyle):

 > The attachment count query is always returning 0 for me.

 Is this for post_tag? If so, has post_tag been registered for attachment?
 It's a pretty basic query I added in the modified patch, do you see any
 potential problems with it?

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

More information about the wp-trac mailing list