Skip to content

Commit

Permalink
Stylebook: add the Appearance -> Design submenu through admin_menu ac…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
fushar committed Dec 20, 2024
1 parent 94df941 commit 6cdcd22
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 @@ -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 6cdcd22

Please sign in to comment.