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
This commit is contained in:
Sergey Biryukov 2021-06-17 11:57:56 +00:00
parent 29ba355256
commit 1a5a8c23b8
2 changed files with 2 additions and 1 deletions

View File

@ -52,6 +52,7 @@ function register_core_block_types_from_metadata() {
'code', 'code',
'column', 'column',
'columns', 'columns',
'cover',
'embed', 'embed',
'freeform', 'freeform',
'gallery', 'gallery',

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.