Multisite: Replace calls to refresh_blog_details() with clean_blog_cache().

Fixes #42077. See #40201.


git-svn-id: https://develop.svn.wordpress.org/trunk@41717 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Felix Arntz
2017-10-03 19:04:57 +00:00
parent 0c1c78bf09
commit d54e80111a
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1407,7 +1407,7 @@ function insert_blog($domain, $path, $network_id) {
return false;
$blog_id = $wpdb->insert_id;
refresh_blog_details( $blog_id );
clean_blog_cache( $blog_id );
wp_maybe_update_network_site_counts( $network_id );