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