mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
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:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user