Skip to content

Commit

Permalink
StyleBook: Make available in all classic themes
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Dec 10, 2024
1 parent 244c145 commit 6e47b6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compat/wordpress-6.8/site-editor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 6e47b6c

Please sign in to comment.