From 9ec439903de15fc9ad5e4fbb4be377c24d1089a6 Mon Sep 17 00:00:00 2001 From: desrosj Date: Mon, 10 May 2021 18:38:59 +0000 Subject: [PATCH] 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 --- wp-includes/post.php | 1 + wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index 56cd4a8cd5..ed95625d10 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -305,6 +305,7 @@ function create_initial_post_types() { 'supports' => array( 'title', 'editor', + 'revisions', ), ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 34231aefc3..299a71cc01 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @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.