diff --git a/wp-admin/includes/upgrade.php b/wp-admin/includes/upgrade.php index 7a10de7e1e..54188738df 100644 --- a/wp-admin/includes/upgrade.php +++ b/wp-admin/includes/upgrade.php @@ -250,7 +250,9 @@ if ( ! function_exists( 'wp_install_defaults' ) ) : ) ); - update_option( 'post_count', 1 ); + if ( is_multisite() ) { + update_posts_count(); + } $wpdb->insert( $wpdb->term_relationships, diff --git a/wp-includes/version.php b/wp-includes/version.php index e220485a3a..4292dd31e5 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-52201'; +$wp_version = '5.9-alpha-52202'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.