Skip to content

Commit

Permalink
Widgets: Missing markup from Widgets Group block.
Browse files Browse the repository at this point in the history
This change fixes an issue in the Widgets editor: widgets group was missing a `.wp-widget-group__inner-blocks` container.

Props noisysocks, ironprogrammer.
Fixes #55072.


git-svn-id: https://develop.svn.wordpress.org/trunk@52730 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
audrasjb committed Feb 15, 2022
1 parent bb68a8b commit 27a9de7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/wp-includes/blocks/index.php
Expand Up @@ -48,6 +48,7 @@
require ABSPATH . WPINC . '/blocks/tag-cloud.php';
require ABSPATH . WPINC . '/blocks/template-part.php';
require ABSPATH . WPINC . '/blocks/term-description.php';
require ABSPATH . WPINC . '/blocks/widget-group.php';

/**
* Registers core block types using metadata files.
Expand Down
1 change: 1 addition & 0 deletions tests/phpunit/includes/functions.php
Expand Up @@ -346,5 +346,6 @@ function _unhook_block_registration() {
remove_action( 'init', 'register_block_core_template_part' );
remove_action( 'init', 'register_block_core_term_description' );
remove_action( 'init', 'register_core_block_types_from_metadata' );
remove_action( 'init', 'register_block_core_widget_group' );
}
tests_add_filter( 'init', '_unhook_block_registration', 1000 );

0 comments on commit 27a9de7

Please sign in to comment.