Skip to content

Commit

Permalink
Remove reference to WP_Theme_JSON_Schema_Gutenberg that we missed
Browse files Browse the repository at this point in the history
  • Loading branch information
michalczaplinski committed Dec 18, 2023
1 parent bf9caf9 commit e1feedd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/class-wp-theme-json-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -2989,7 +2989,7 @@ protected static function filter_slugs( $node, $slugs ) {
public static function remove_insecure_properties( $theme_json ) {
$sanitized = array();

$theme_json = WP_Theme_JSON_Schema_Gutenberg::migrate( $theme_json );
$theme_json = WP_Theme_JSON_Schema::migrate( $theme_json );

$valid_block_names = array_keys( static::get_blocks_metadata() );
$valid_element_names = array_keys( static::ELEMENTS );
Expand Down

0 comments on commit e1feedd

Please sign in to comment.