diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index abe176cd83..6bdbc5c2f4 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -3057,6 +3057,11 @@ function wp_enqueue_block_style( $block_name, $args ) { * @access private */ function _wp_theme_json_webfonts_handler() { + // Block themes are unavailable during installation. + if ( wp_installing() ) { + return; + } + // Webfonts to be processed. $registered_webfonts = array(); diff --git a/wp-includes/version.php b/wp-includes/version.php index 085f7de242..24db4d7e7b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-beta3-53305'; +$wp_version = '6.0-beta3-53306'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.