[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 09:44:19 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):
Should the behavior be: Posts count towards `count` if there status is
inherit and their parent is published?
We could put this into the default term count SQL query if so.
If not, change to != trash and if a dev wants somethign else they specify
a custom update_term_count_callback
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17548#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list