Make WordPress Core


Ignore:
Timestamp:
02/07/2023 04:42:11 PM (2 years ago)
Author:
davidbaumwald
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-theme-json-resolver.php

    r55231 r55273  
    315315            // Classic themes without a theme.json don't support global duotone.
    316316            $theme_support_data['settings']['color']['defaultDuotone'] = false;
    317 
    318             // Allow themes to enable appearance tools via theme_support.
    319             if ( current_theme_supports( 'appearance-tools' ) ) {
    320                 $theme_support_data['settings']['appearanceTools'] = true;
    321             }
    322317        }
    323318        $with_theme_supports = new WP_Theme_JSON( $theme_support_data );
Note: See TracChangeset for help on using the changeset viewer.