From 0ca9e461e6b9a4a80a09ae74edc6631d3f511969 Mon Sep 17 00:00:00 2001 From: Nate Weller Date: Tue, 8 Oct 2024 12:07:52 -0600 Subject: [PATCH] Revert "Ensure the WAF mode is set during activation" This reverts commit b5053c3232406617b3315d09705de561b120a3d7. --- projects/packages/waf/src/class-waf-runner.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/projects/packages/waf/src/class-waf-runner.php b/projects/packages/waf/src/class-waf-runner.php index e961c10bff087..c1a8eb1965057 100644 --- a/projects/packages/waf/src/class-waf-runner.php +++ b/projects/packages/waf/src/class-waf-runner.php @@ -319,11 +319,6 @@ public static function activate() { add_option( Waf_Rules_Manager::VERSION_OPTION_NAME, Waf_Rules_Manager::RULES_VERSION ); } - $mode = get_option( self::MODE_OPTION_NAME ); - if ( ! $mode ) { - add_option( self::MODE_OPTION_NAME, 'normal' ); - } - add_option( self::SHARE_DATA_OPTION_NAME, true ); self::initialize_filesystem();