[wp-trac] [WordPress Trac] #27952: get_blog_details()->post_count Does not subtract deleted posts

WordPress Trac noreply at wordpress.org
Thu Jun 26 00:52:27 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
--------------------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 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:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list