diff --git a/lib/compat/wordpress-6.2/get-global-styles-and-settings.php b/lib/compat/wordpress-6.2/get-global-styles-and-settings.php index b949318149abbe..4dbd9d0ba8bde1 100644 --- a/lib/compat/wordpress-6.2/get-global-styles-and-settings.php +++ b/lib/compat/wordpress-6.2/get-global-styles-and-settings.php @@ -16,7 +16,7 @@ function wp_theme_has_theme_json( $clear_cache = false ) { static $theme_has_support = null; - if ( false === $clear_cache ) { + if ( true === $clear_cache ) { $theme_has_support = null; }