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
This commit is contained in:
parent
b2fb194bc1
commit
de70cbd2ad
|
@ -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 );
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue