diff --git a/wp-includes/class-wp-theme-json-resolver.php b/wp-includes/class-wp-theme-json-resolver.php index 2e6b7523b6..d352cbdcbf 100644 --- a/wp-includes/class-wp-theme-json-resolver.php +++ b/wp-includes/class-wp-theme-json-resolver.php @@ -559,7 +559,8 @@ class WP_Theme_JSON_Resolver { _deprecated_argument( __FUNCTION__, '5.9.0' ); } - $result = static::get_core_data(); + $result = new WP_Theme_JSON(); + $result->merge( static::get_core_data() ); if ( 'default' === $origin ) { $result->set_spacing_sizes(); return $result; diff --git a/wp-includes/version.php b/wp-includes/version.php index 6e43f7d503..185beae893 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-beta3-55447'; +$wp_version = '6.2-beta3-55448'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.