From 1d32f507fece6d04e3d56d348a5476dc7d25ad46 Mon Sep 17 00:00:00 2001 From: Alessio Torrisi Date: Fri, 20 Dec 2024 13:05:22 +0100 Subject: [PATCH] Fix: restore Skip 404 htaccess code once BURST SATEFY MODE is disabled --- includes/BurstSafetyMode/init.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/includes/BurstSafetyMode/init.php b/includes/BurstSafetyMode/init.php index 66a3c8e..7118599 100644 --- a/includes/BurstSafetyMode/init.php +++ b/includes/BurstSafetyMode/init.php @@ -46,11 +46,7 @@ define( 'BURST_SAFETY_CACHE_LEVEL', 3 ); - $skip_404_handling = (bool) get_option( 'newfold_skip_404_handling', true ); - - if ( ! $skip_404_handling && class_exists( BurstSkip404::class ) ) { - $skip404 = new BurstSkip404(); - } + $skip404 = new BurstSkip404(); if ( BURST_SAFETY_CACHE_LEVEL !== $newfold_cache_level && class_exists( BurstBrowser::class ) ) { $browser = new BurstBrowser();