Skip to content

Commit

Permalink
Restore RULES_ENTRYPOINT_FILE with deprecation doc
Browse files Browse the repository at this point in the history
  • Loading branch information
nateweller committed Oct 8, 2024
1 parent c8ded65 commit c6d1508
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions projects/packages/waf/src/class-waf-rules-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ class Waf_Rules_Manager {
const IP_ALLOW_RULES_FILE = '/rules/allow-ip.php';
const IP_BLOCK_RULES_FILE = '/rules/block-ip.php';

/**
* Rules Entrypoint File
*
* @deprecated $$next-version$$ Use JETPACK_WAF_ENTRYPOINT instead.
*/
const RULES_ENTRYPOINT_FILE = '/rules/rules.php';

/**
* Whether automatic rules are enabled.
*
Expand Down

0 comments on commit c6d1508

Please sign in to comment.