[wp-trac] [WordPress Trac] #27952: get_blog_details()->post_count Does not subtract deleted posts
WordPress Trac
noreply at wordpress.org
Thu Jun 26 15:03:47 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 | Focuses: multisite
--------------------------------------+-----------------------------
Comment (by strangerstudios):
Looks good to me.
Replying to [comment:8 wonderboymusic]:
> In [changeset:"28835"]:
> {{{
> #!CommitTicketReference repository="" revision="28835"
> `get_blog_details()->post_count` should update on more actions than just
`publish_post`.
>
> Adds unit test.
>
> Props 5um17, midxcat, strangerstudios.
> Fixes #27952.
> }}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27952#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list