From 6cdcd22f1227e61daaabbee42b9e62935750e4c7 Mon Sep 17 00:00:00 2001 From: Ashar Fuadi Date: Fri, 20 Dec 2024 17:04:24 +0700 Subject: [PATCH 1/2] 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' ); From d4d0728d2db0c1eae20737aac64a630d999d029f Mon Sep 17 00:00:00 2001 From: Ashar Fuadi Date: Mon, 23 Dec 2024 09:34:55 +0700 Subject: [PATCH 2/2] Add backport reference --- backport-changelog/6.8/7865.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backport-changelog/6.8/7865.md b/backport-changelog/6.8/7865.md index f7b23c944dc327..b5de24b8ee63d3 100644 --- a/backport-changelog/6.8/7865.md +++ b/backport-changelog/6.8/7865.md @@ -1,3 +1,4 @@ https://github.com/WordPress/wordpress-develop/pull/7865 -* https://github.com/WordPress/gutenberg/pull/66851 \ No newline at end of file +* https://github.com/WordPress/gutenberg/pull/66851 +* https://github.com/WordPress/gutenberg/pull/68174