From ec25d0aad32bd05ae2eedebe47e6f4e4491a5977 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 29 Jul 2021 14:48:00 +0000 Subject: [PATCH] Themes: Add "Template Editing" to the list of WordPress theme features. Follow-up to [meta11158]. Props poena, desrosj. Fixes #53556. See #meta5802. Built from https://develop.svn.wordpress.org/trunk@51510 git-svn-id: http://core.svn.wordpress.org/trunk@51121 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 ade91d741a..772e66f139 100644 --- a/wp-admin/includes/theme.php +++ b/wp-admin/includes/theme.php @@ -298,6 +298,7 @@ function get_theme_update_available( $theme ) { * @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. + * @since 5.8.1 Added 'Template Editing' feature. * * @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. @@ -334,6 +335,7 @@ function get_theme_feature_list( $api = true ) { 'full-width-template' => __( 'Full Width Template' ), 'post-formats' => __( 'Post Formats' ), 'sticky-post' => __( 'Sticky Post' ), + 'template-editing' => __( 'Template Editing' ), 'theme-options' => __( 'Theme Options' ), ), diff --git a/wp-includes/version.php b/wp-includes/version.php index 5c30ac7cae..4b36146582 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-51501'; +$wp_version = '5.9-alpha-51510'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.