From 6cdcd22f1227e61daaabbee42b9e62935750e4c7 Mon Sep 17 00:00:00 2001 From: Ashar Fuadi Date: Fri, 20 Dec 2024 17:04:24 +0700 Subject: [PATCH] Stylebook: add the Appearance -> Design submenu through admin_menu action --- 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..9b2575676047d1 100644 --- a/lib/compat/wordpress-6.8/site-editor.php +++ b/lib/compat/wordpress-6.8/site-editor.php @@ -145,4 +145,4 @@ function gutenberg_add_styles_submenu_item() { } } } -add_action( 'admin_init', 'gutenberg_add_styles_submenu_item' ); +add_action( 'admin_menu', 'gutenberg_add_styles_submenu_item' );