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
This commit is contained in:
Sergey Biryukov 2020-05-14 09:18:08 +00:00
parent 5e42a6c9e5
commit 04e3fd6995
2 changed files with 3 additions and 1 deletions

View File

@ -278,6 +278,7 @@ function get_theme_feature_list( $api = true ) {
__( 'Features' ) => array( __( 'Features' ) => array(
'accessibility-ready' => __( 'Accessibility Ready' ), 'accessibility-ready' => __( 'Accessibility Ready' ),
'block-styles' => __( 'Block Editor Styles' ),
'custom-background' => __( 'Custom Background' ), 'custom-background' => __( 'Custom Background' ),
'custom-colors' => __( 'Custom Colors' ), 'custom-colors' => __( 'Custom Colors' ),
'custom-header' => __( 'Custom Header' ), 'custom-header' => __( 'Custom Header' ),
@ -300,6 +301,7 @@ function get_theme_feature_list( $api = true ) {
'four-columns' => __( 'Four Columns' ), 'four-columns' => __( 'Four Columns' ),
'left-sidebar' => __( 'Left Sidebar' ), 'left-sidebar' => __( 'Left Sidebar' ),
'right-sidebar' => __( 'Right Sidebar' ), 'right-sidebar' => __( 'Right Sidebar' ),
'wide-blocks' => __( 'Wide Blocks' ),
), ),
); );

View File

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