Skip to content

Commit cf132ae

Browse files
authored
Clarify backport status of appearance-tools theme support (#48622)
1 parent 58708be commit cf132ae

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/class-wp-theme-json-resolver-gutenberg.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,10 +319,15 @@ public static function get_theme_data( $deprecated = array(), $options = array()
319319
// Classic themes without a theme.json don't support global duotone.
320320
$theme_support_data['settings']['color']['defaultDuotone'] = false;
321321

322+
// BEGIN EXPERIMENTAL.
322323
// Allow themes to enable appearance tools via theme_support.
324+
// This feature was backported for WordPress 6.2 as of https://core.trac.wordpress.org/ticket/56487
325+
// and then reverted as of https://core.trac.wordpress.org/ticket/57649
326+
// Not to backport until the issues are resolved.
323327
if ( current_theme_supports( 'appearance-tools' ) ) {
324328
$theme_support_data['settings']['appearanceTools'] = true;
325329
}
330+
// END EXPERIMENTAL.
326331
}
327332
$with_theme_supports = new WP_Theme_JSON_Gutenberg( $theme_support_data );
328333
$with_theme_supports->merge( static::$theme );

0 commit comments

Comments
 (0)