diff --git a/wp-includes/ms-functions.php b/wp-includes/ms-functions.php index 16cb294359..20a183d7da 100644 --- a/wp-includes/ms-functions.php +++ b/wp-includes/ms-functions.php @@ -1375,7 +1375,7 @@ function insert_blog($domain, $path, $site_id) { $blog_id = $wpdb->insert_id; refresh_blog_details( $blog_id ); - wp_maybe_update_network_site_counts(); + wp_maybe_update_network_site_counts( $site_id ); return $blog_id; } diff --git a/wp-includes/version.php b/wp-includes/version.php index a7bd02f128..f1d376e7b7 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.8-alpha-40611'; +$wp_version = '4.8-alpha-40612'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.