From 5adac72f47f028dbff0ca0c816580c2b91a2d1a1 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 14 May 2020 09:16:45 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@47790 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/theme.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-admin/includes/theme.php b/src/wp-admin/includes/theme.php index 47168057e0..ed3139154c 100644 --- a/src/wp-admin/includes/theme.php +++ b/src/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' ), ), );