From de70cbd2adc53956861d104ed235889cee7dd3df Mon Sep 17 00:00:00 2001 From: davidbaumwald Date: Tue, 7 Feb 2023 16:44:24 +0000 Subject: [PATCH] Themes: Revert appearance tools theme support. The appearance tools theme support(merged in [55067]) includes block gap, a feature that was not intended for themes without a theme.json. Until it has been determined if the feature can and should be enabled in these themes, and has been successfully tested, the appearance tools theme support should be reverted. Reverts [55067]. Props poena, Mamaduka, audrasjb. Fixes #57649. Built from https://develop.svn.wordpress.org/trunk@55273 git-svn-id: http://core.svn.wordpress.org/trunk@54806 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-theme-json-resolver.php | 5 ----- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/wp-includes/class-wp-theme-json-resolver.php b/wp-includes/class-wp-theme-json-resolver.php index d178f076e9..2e6b7523b6 100644 --- a/wp-includes/class-wp-theme-json-resolver.php +++ b/wp-includes/class-wp-theme-json-resolver.php @@ -314,11 +314,6 @@ class WP_Theme_JSON_Resolver { // Classic themes without a theme.json don't support global duotone. $theme_support_data['settings']['color']['defaultDuotone'] = false; - - // Allow themes to enable appearance tools via theme_support. - if ( current_theme_supports( 'appearance-tools' ) ) { - $theme_support_data['settings']['appearanceTools'] = true; - } } $with_theme_supports = new WP_Theme_JSON( $theme_support_data ); $with_theme_supports->merge( static::$theme ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 856ff45a59..5b82074e3b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-55272'; +$wp_version = '6.2-alpha-55273'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.