From c86eb190abc3f6fc8b48dc6e4b092cdb70215e07 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 27 Jan 2023 15:52:56 +0000 Subject: [PATCH] Themes: Add "Style Variations" to the list of WordPress theme features. Follow-up to [meta12372]. Props poena, mukesh27, costdev. Fixes #56869. See #meta6545. git-svn-id: https://develop.svn.wordpress.org/trunk@55149 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 6fe18cdff1..043fe6ac31 100644 --- a/src/wp-admin/includes/theme.php +++ b/src/wp-admin/includes/theme.php @@ -300,6 +300,7 @@ function get_theme_update_available( $theme ) { * @since 5.5.0 Added 'Wide Blocks' layout option. * @since 5.8.1 Added 'Template Editing' feature. * @since 6.1.1 Replaced 'Full Site Editing' feature name with 'Site Editor'. + * @since 6.2.0 Added 'Style Variations' 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. @@ -336,6 +337,7 @@ function get_theme_feature_list( $api = true ) { 'full-width-template' => __( 'Full Width Template' ), 'post-formats' => __( 'Post Formats' ), 'sticky-post' => __( 'Sticky Post' ), + 'style-variations' => __( 'Style Variations' ), 'template-editing' => __( 'Template Editing' ), 'theme-options' => __( 'Theme Options' ), ),