From a0ec22dbda35136a79895b355ff030788504aa07 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 14 May 2020 09:24:07 +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]. Merges [47790] to the 5.2 branch. See #46272. Built from https://develop.svn.wordpress.org/branches/5.2@47793 git-svn-id: http://core.svn.wordpress.org/branches/5.2@47569 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/theme.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-admin/includes/theme.php b/wp-admin/includes/theme.php index f1d0d374bd..87ddb6176b 100644 --- a/wp-admin/includes/theme.php +++ b/wp-admin/includes/theme.php @@ -273,6 +273,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' ), @@ -295,6 +296,7 @@ function get_theme_feature_list( $api = true ) { 'four-columns' => __( 'Four Columns' ), 'left-sidebar' => __( 'Left Sidebar' ), 'right-sidebar' => __( 'Right Sidebar' ), + 'wide-blocks' => __( 'Wide Blocks' ), ), );