Skip to content

Commit

Permalink
Stylebook: add the Appearance -> Design submenu through admin_menu
Browse files Browse the repository at this point in the history
…action (WordPress#68174)

* Stylebook: add the Appearance -> Design submenu through admin_menu action

* Add backport reference

Co-authored-by: fushar <[email protected]>
Co-authored-by: ramonjd <[email protected]>
  • Loading branch information
3 people authored Dec 23, 2024
1 parent 068660c commit ea7bc78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion backport-changelog/6.8/7865.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
https://github.com/WordPress/wordpress-develop/pull/7865

* https://github.com/WordPress/gutenberg/pull/66851
* https://github.com/WordPress/gutenberg/pull/66851
* https://github.com/WordPress/gutenberg/pull/68174
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 @@ -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' );

0 comments on commit ea7bc78

Please sign in to comment.