From 04e3fd699501c4887a5e95775c85b4a87fec1f89 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 14 May 2020 09:18:08 +0000 Subject: [PATCH] Themes: Add "Block Editor Styles" and "Wide Blocks" to the list of WordPress theme features. These were added to Theme Directory API in anticipation of being committed to core for WordPress 5.2+, which has not happened until now. Follow-up to [meta8273]. See #46272. Built from https://develop.svn.wordpress.org/trunk@47790 git-svn-id: http://core.svn.wordpress.org/trunk@47566 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/theme.php | 2 ++ wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-admin/includes/theme.php b/wp-admin/includes/theme.php index 47168057e0..ed3139154c 100644 --- a/wp-admin/includes/theme.php +++ b/wp-admin/includes/theme.php @@ -278,6 +278,7 @@ function get_theme_feature_list( $api = true ) { __( 'Features' ) => array( 'accessibility-ready' => __( 'Accessibility Ready' ), + 'block-styles' => __( 'Block Editor Styles' ), 'custom-background' => __( 'Custom Background' ), 'custom-colors' => __( 'Custom Colors' ), 'custom-header' => __( 'Custom Header' ), @@ -300,6 +301,7 @@ function get_theme_feature_list( $api = true ) { 'four-columns' => __( 'Four Columns' ), 'left-sidebar' => __( 'Left Sidebar' ), 'right-sidebar' => __( 'Right Sidebar' ), + 'wide-blocks' => __( 'Wide Blocks' ), ), ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 3f5a61e887..0f12f3e2c9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-47789'; +$wp_version = '5.5-alpha-47790'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.