Skip to content

Commit

Permalink
add docblock
Browse files Browse the repository at this point in the history
  • Loading branch information
scruffian committed Oct 7, 2022
1 parent 22b4e5d commit b4b1079
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/compat/wordpress-6.1/script-loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ function gutenberg_enqueue_classic_theme_styles() {
* Loads classic theme styles on classic themes in the editor.
*
* This is needed for backwards compatibility for button blocks specifically.
*
* @since 6.1
*
* @param array $editor_settings The array of editor settings.
* @return array A filtered array of editor settings.
*/
function gutenberg_add_editor_classic_theme_styles( $editor_settings ) {
if ( wp_is_block_theme() ) {
Expand Down

0 comments on commit b4b1079

Please sign in to comment.