From 6e47b6c892038a973301146f658bce0d9f2a9f05 Mon Sep 17 00:00:00 2001 From: Aki Hamano Date: Tue, 10 Dec 2024 17:25:30 +0900 Subject: [PATCH] StyleBook: Make available in all classic themes --- lib/compat/wordpress-6.8/site-editor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(