Make WordPress Core

Changeset 52730


Ignore:
Timestamp:
02/15/2022 09:56:02 AM (3 years ago)
Author:
audrasjb
Message:

Widgets: Missing markup from Widgets Group block.

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.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/blocks/index.php

    r52364 r52730  
    4949require ABSPATH . WPINC . '/blocks/template-part.php';
    5050require ABSPATH . WPINC . '/blocks/term-description.php';
     51require ABSPATH . WPINC . '/blocks/widget-group.php';
    5152
    5253/**
  • trunk/tests/phpunit/includes/functions.php

    r52402 r52730  
    347347    remove_action( 'init', 'register_block_core_term_description' );
    348348    remove_action( 'init', 'register_core_block_types_from_metadata' );
     349    remove_action( 'init', 'register_block_core_widget_group' );
    349350}
    350351tests_add_filter( 'init', '_unhook_block_registration', 1000 );
Note: See TracChangeset for help on using the changeset viewer.