From 64a02550a581112eedaef75414b8f51740153f58 Mon Sep 17 00:00:00 2001 From: Alessio Torrisi Date: Tue, 7 Jan 2025 09:34:07 +0100 Subject: [PATCH] Fix: phpcs issue yoda condition --- includes/burstSafetyModeFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/burstSafetyModeFunctions.php b/includes/burstSafetyModeFunctions.php index 6cc03cc..53cb68c 100644 --- a/includes/burstSafetyModeFunctions.php +++ b/includes/burstSafetyModeFunctions.php @@ -10,7 +10,7 @@ $site_skip404 = (bool) get_option( 'newfold_skip_404_handling', true ); if ( defined( 'BURST_SAFETY_MODE' ) && BURST_SAFETY_MODE ) { - if ( $newfold_burst_safety_mode === false ) { + if ( false === $newfold_burst_safety_mode ) { $current_level = get_option( Performance::OPTION_CACHE_LEVEL ); update_option( 'newfold_burst_safety_mode', true ); update_option( 'newfold_burst_safety_mode_site_cache_level', $current_level );