[wp-trac] [WordPress Trac] #27952: get_blog_details()->post_count Does not subtract deleted posts
WordPress Trac
noreply at wordpress.org
Sun Jun 8 05:23:23 UTC 2014
#27952: get_blog_details()->post_count Does not subtract deleted posts
--------------------------------------+------------------------
Reporter: GSMcNamara | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.0
Component: Networks and Sites | Version: 3.8.1
Severity: minor | Resolution:
Keywords: good-first-bug has-patch | Focuses: multisite
--------------------------------------+------------------------
Comment (by midxcat):
Since `publish_post` and `delete_post` hooks are called in
`transition_post_status`, I think it is enough to hook only on
`transition_post_status`. And comments for the function should be
updated.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27952#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list