Posts, Post Types: Enable revisions for the `wp_block` post type.

This allows site owners to take advantage of revisions while broader improvements to block management and reusable blocks are explored.

Props matveb, audrasjb, desrosj.
Fixes #53072.
Built from https://develop.svn.wordpress.org/trunk@50835


git-svn-id: http://core.svn.wordpress.org/trunk@50444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
desrosj 2021-05-10 18:38:59 +00:00
parent 41de9e3fd3
commit 9ec439903d
2 changed files with 2 additions and 1 deletions

View File

@ -305,6 +305,7 @@ function create_initial_post_types() {
'supports' => array( 'supports' => array(
'title', 'title',
'editor', 'editor',
'revisions',
), ),
) )
); );

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.8-alpha-50834'; $wp_version = '5.8-alpha-50835';
/** /**
* 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.