get_blog_details()->post_count should update on more actions than just publish_post.

Adds unit test.

Props 5um17, midxcat, strangerstudios.
Fixes #27952.


git-svn-id: https://develop.svn.wordpress.org/trunk@28835 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2014-06-26 00:52:25 +00:00
parent 8621b2c92c
commit b917e7998d
4 changed files with 50 additions and 2 deletions
+1 -1
View File
@@ -1761,7 +1761,7 @@ function check_upload_mimes( $mimes ) {
* WordPress MS stores a blog's post count as an option so as
* to avoid extraneous COUNTs when a blog's details are fetched
* with get_blog_details(). This function is called when posts
* are published to make sure the count stays current.
* are published or unpublished to make sure the count stays current.
*
* @since MU
*/