From 1a5a8c23b8090b61205963822364b4f51c511a29 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 17 Jun 2021 11:57:56 +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. Built from https://develop.svn.wordpress.org/trunk@51176 git-svn-id: http://core.svn.wordpress.org/trunk@50785 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/blocks/index.php | 1 + wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/blocks/index.php b/wp-includes/blocks/index.php index 326fc043b0..b702cdf03c 100644 --- a/wp-includes/blocks/index.php +++ b/wp-includes/blocks/index.php @@ -52,6 +52,7 @@ function register_core_block_types_from_metadata() { 'code', 'column', 'columns', + 'cover', 'embed', 'freeform', 'gallery', diff --git a/wp-includes/version.php b/wp-includes/version.php index 6d4fcc84a7..84e4fbcddc 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-beta2-51175'; +$wp_version = '5.8-beta2-51176'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.