mirror of
git://develop.git.wordpress.org/
synced 2025-04-13 00:22:52 +02:00
Themes: Add "Template Editing" to the list of WordPress theme features.
Follow-up to [meta11158]. Props poena, desrosj. Fixes #53556. See #meta5802. git-svn-id: https://develop.svn.wordpress.org/trunk@51510 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ad976addb3
commit
2905c5a9bc
@ -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' ),
|
||||
),
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user