From 5b1cdcae7d67fb5570933d610caef3e77a6a3adf Mon Sep 17 00:00:00 2001 From: tellthemachines Date: Thu, 4 Jan 2024 19:12:36 +1100 Subject: [PATCH] Temp fix for theme support bug --- tests/phpunit/tests/theme/wpThemeJsonResolver.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit/tests/theme/wpThemeJsonResolver.php b/tests/phpunit/tests/theme/wpThemeJsonResolver.php index d595b3a908ae1..60675679804da 100644 --- a/tests/phpunit/tests/theme/wpThemeJsonResolver.php +++ b/tests/phpunit/tests/theme/wpThemeJsonResolver.php @@ -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();