Skip to content

Commit

Permalink
Temp fix for theme support bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tellthemachines committed Jan 9, 2024
1 parent a7c8591 commit 5b1cdca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/phpunit/tests/theme/wpThemeJsonResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,7 @@ public function test_add_theme_supports_are_loaded_for_themes_without_theme_json
*/
public function test_core_default_settings_are_loaded_for_themes_without_theme_json() {
switch_theme( 'default' );
remove_theme_support( 'editor-gradient-presets' );

$settings = WP_Theme_JSON_Resolver::get_merged_data( 'theme' )->get_settings();

Expand Down

0 comments on commit 5b1cdca

Please sign in to comment.