diff --git a/lib/compat/wordpress-6.0/block-editor-settings.php b/lib/compat/wordpress-6.0/block-editor-settings.php index 0871beee317e9d..2f120a0348bf47 100644 --- a/lib/compat/wordpress-6.0/block-editor-settings.php +++ b/lib/compat/wordpress-6.0/block-editor-settings.php @@ -111,7 +111,7 @@ function gutenberg_get_block_editor_settings( $settings ) { } } - if ( WP_Theme_JSON_Resolver_Gutenberg::theme_has_support() ) { + if ( WP_Theme_JSON_Resolver::theme_has_support() ) { $block_classes = array( 'css' => 'styles', '__unstableType' => 'theme',