[wp-trac] [WordPress Trac] #17548: wp_trash_post() does not call update_post_count()
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 24 18:58:59 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 markjaquith):
Our default update_count_callback is kind of lame. It doesn't exclude
trashed posts. so in addition to this patch, CPTs need to specify a better
callback. Maybe we can update our default to at least exclude trashed
posts.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17548#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list