Skip to content

Commit

Permalink
Revert "Ensure the WAF mode is set during activation"
Browse files Browse the repository at this point in the history
This reverts commit b5053c3.
  • Loading branch information
nateweller committed Oct 8, 2024
1 parent b5053c3 commit 0ca9e46
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions projects/packages/waf/src/class-waf-runner.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 0ca9e46

Please sign in to comment.