Themes: Add "Template Editing" to the list of WordPress theme features.

Follow-up to [meta11158].

Props poena, desrosj, SergeyBiryukov.
Merges [51510] to the 5.8 branch.
Fixes #53556. See #meta5802.
Built from https://develop.svn.wordpress.org/branches/5.8@51516


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
desrosj 2021-07-30 12:24:59 +00:00
parent 2c3326126b
commit 720a2a7035
2 changed files with 3 additions and 1 deletions

View File

@ -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' ),
),

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.8.1-alpha-51515';
$wp_version = '5.8.1-alpha-51516';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.