From a61dc175a8e10348456d0a535c006bf0a7eaf7aa Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 27 Jan 2023 15:54:19 +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. Built from https://develop.svn.wordpress.org/trunk@55149 git-svn-id: http://core.svn.wordpress.org/trunk@54682 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 6fe18cdff1..043fe6ac31 100644 --- a/wp-admin/includes/theme.php +++ b/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' ), ), diff --git a/wp-includes/version.php b/wp-includes/version.php index 38a8e8528e..1d75ea7f59 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-55148'; +$wp_version = '6.2-alpha-55149'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.