Skip to content

Commit

Permalink
Fix typo: use WP_Theme_JSON_Gutenberg instead of WP_Theme_JSON class …
Browse files Browse the repository at this point in the history
…name (#48648)
  • Loading branch information
oandregal authored and priethor committed Mar 8, 2023
1 parent ec6feec commit 6e5ad31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/class-wp-theme-json-resolver-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ public static function get_merged_data( $origin = 'custom' ) {
_deprecated_argument( __FUNCTION__, '5.9.0' );
}

$result = new WP_Theme_JSON();
$result = new WP_Theme_JSON_Gutenberg();
$result->merge( static::get_core_data() );
if ( 'default' === $origin ) {
$result->set_spacing_sizes();
Expand Down

0 comments on commit 6e5ad31

Please sign in to comment.