From e1feedd6b5d9d9f454b56d44ef22b985a3b2133a Mon Sep 17 00:00:00 2001 From: Michal Czaplinski Date: Mon, 18 Dec 2023 14:34:09 +0000 Subject: [PATCH] Remove reference to WP_Theme_JSON_Schema_Gutenberg that we missed --- lib/class-wp-theme-json-gutenberg.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/class-wp-theme-json-gutenberg.php b/lib/class-wp-theme-json-gutenberg.php index de72547414898..57ca9ab59eacf 100644 --- a/lib/class-wp-theme-json-gutenberg.php +++ b/lib/class-wp-theme-json-gutenberg.php @@ -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 );