From c62f77e2e87563e6189ed9a2dc93ccaf086f771f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 17 Jun 2021 11:56:08 +0000 Subject: [PATCH] Editor: Include Cover block in the list of block types registered using metadata files. This ensures that block stylesheets are rendered properly when `should_load_separate_core_block_assets` filter is turned on. Follow-up to [50824], [50836]. Props walbo. Fixes #53440. git-svn-id: https://develop.svn.wordpress.org/trunk@51176 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/blocks/index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-includes/blocks/index.php b/src/wp-includes/blocks/index.php index 326fc043b0..b702cdf03c 100644 --- a/src/wp-includes/blocks/index.php +++ b/src/wp-includes/blocks/index.php @@ -52,6 +52,7 @@ function register_core_block_types_from_metadata() { 'code', 'column', 'columns', + 'cover', 'embed', 'freeform', 'gallery',