diff --git a/lib/compat/wordpress-6.8/site-editor.php b/lib/compat/wordpress-6.8/site-editor.php index 53d04c2e543f48..86690a6413e1c1 100644 --- a/lib/compat/wordpress-6.8/site-editor.php +++ b/lib/compat/wordpress-6.8/site-editor.php @@ -130,7 +130,7 @@ function gutenberg_styles_wp_die_handler( $default_handler ) { * @global array $submenu */ function gutenberg_add_styles_submenu_item() { - if ( ! wp_is_block_theme() && ( current_theme_supports( 'editor-styles' ) || wp_theme_has_theme_json() ) ) { + if ( ! wp_is_block_theme() ) { global $submenu; $styles_menu_item = array(