diff --git a/src/wp-includes/blocks.php b/src/wp-includes/blocks.php index 7aae7f14d4..cc46bc3d63 100644 --- a/src/wp-includes/blocks.php +++ b/src/wp-includes/blocks.php @@ -716,8 +716,6 @@ function excerpt_remove_blocks( $content ) { 'core/group', ); - $allowed_blocks = array_merge( $allowed_inner_blocks, $allowed_wrapper_blocks ); - /** * Filters the list of blocks that can be used as wrapper blocks, allowing * excerpts to be generated from the `innerBlocks` of these wrappers.