[wp-trac] [WordPress Trac] #27952: get_blog_details()->post_count Does not subtract deleted posts
WordPress Trac
noreply at wordpress.org
Tue Sep 2 07:16:43 UTC 2014
#27952: get_blog_details()->post_count Does not subtract deleted posts
---------------------------------------------+-----------------------------
Reporter: GSMcNamara | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.0
Component: Networks and Sites | Version: 3.8.1
Severity: minor | Resolution: fixed
Keywords: good-first-bug has-patch commit | Focuses: multisite
---------------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"29667"]:
{{{
#!CommitTicketReference repository="" revision="29667"
Check $post->post_status directly in _update_posts_count_on_delete() for
better performance.
props pento.
fixes #27952.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27952#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list