Skip to content

Commit

Permalink
Fix: phpcs issue yoda condition
Browse files Browse the repository at this point in the history
  • Loading branch information
AleTorrisi committed Jan 7, 2025
1 parent 4348cf6 commit 64a0255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/burstSafetyModeFunctions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 64a0255

Please sign in to comment.