From 41176e7d06ffdf93405906bdcdc96d8ef1d30ef6 Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Sat, 2 Nov 2024 20:14:38 +0200 Subject: [PATCH] fix: explicitly return false in `WP_Theme_JSON_Gutenberg::should_ovrride_preset()` --- lib/class-wp-theme-json-gutenberg.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/class-wp-theme-json-gutenberg.php b/lib/class-wp-theme-json-gutenberg.php index dafa8b25f278fc..6fa3f9236a1519 100644 --- a/lib/class-wp-theme-json-gutenberg.php +++ b/lib/class-wp-theme-json-gutenberg.php @@ -3393,6 +3393,8 @@ protected static function should_override_preset( $theme_json, $path, $override return true; } + + return false; } /**