From 69adb593a2db71a8a067f10990dd8c3cfc3cbb9f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 14 May 2020 14:43:08 +0000 Subject: [PATCH] Themes: Add "Block Editor Patterns" and "Full Site Editing" to the list of WordPress theme features. Follow-up to [meta9876]. Props dingo_d. Fixes #50164. See #meta5212. Built from https://develop.svn.wordpress.org/trunk@47797 git-svn-id: http://core.svn.wordpress.org/trunk@47573 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/theme.php | 6 +++++- wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/theme.php b/wp-admin/includes/theme.php index c89dbb3044..4da4eafb7f 100644 --- a/wp-admin/includes/theme.php +++ b/wp-admin/includes/theme.php @@ -277,7 +277,9 @@ function get_theme_update_available( $theme ) { * @since 4.9.0 Removed 'BuddyPress', 'Custom Menu', 'Flexible Header', * 'Front Page Posting', 'Microformats', 'RTL Language Support', * 'Threaded Comments', and 'Translation Ready' features. - * @since 5.5.0 Added 'Block Editor Styles' and 'Wide Blocks' features. + * @since 5.5.0 Added 'Block Editor Patterns', 'Block Editor Styles', + * and 'Full Site Editing' features. + * @since 5.5.0 Added 'Wide Blocks' layout option. * * @param bool $api Optional. Whether try to fetch tags from the WordPress.org API. Defaults to true. * @return array Array of features keyed by category with translations keyed by slug. @@ -300,6 +302,7 @@ function get_theme_feature_list( $api = true ) { __( 'Features' ) => array( 'accessibility-ready' => __( 'Accessibility Ready' ), + 'block-patterns' => __( 'Block Editor Patterns' ), 'block-styles' => __( 'Block Editor Styles' ), 'custom-background' => __( 'Custom Background' ), 'custom-colors' => __( 'Custom Colors' ), @@ -309,6 +312,7 @@ function get_theme_feature_list( $api = true ) { 'featured-image-header' => __( 'Featured Image Header' ), 'featured-images' => __( 'Featured Images' ), 'footer-widgets' => __( 'Footer Widgets' ), + 'full-site-editing' => __( 'Full Site Editing' ), 'full-width-template' => __( 'Full Width Template' ), 'post-formats' => __( 'Post Formats' ), 'sticky-post' => __( 'Sticky Post' ), diff --git a/wp-includes/version.php b/wp-includes/version.php index 15f500986d..39a758084f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-47796'; +$wp_version = '5.5-alpha-47797'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.