Skip to content

Commit

Permalink
Fix: restore Skip 404 htaccess code once BURST SATEFY MODE is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
AleTorrisi committed Dec 20, 2024
1 parent fc14784 commit 1d32f50
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions includes/BurstSafetyMode/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 1d32f50

Please sign in to comment.