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 Mar 1, 2023
1 parent 0a6c5e8 commit c04c501
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

1 comment on commit c04c501

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in c04c501.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4306359692
📝 Reported issues:

Please sign in to comment.