From c6d1508f6e440d3ea89af47fd6ff463f4c538b2e Mon Sep 17 00:00:00 2001 From: Nate Weller Date: Mon, 7 Oct 2024 21:22:41 -0600 Subject: [PATCH] Restore RULES_ENTRYPOINT_FILE with deprecation doc --- projects/packages/waf/src/class-waf-rules-manager.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/projects/packages/waf/src/class-waf-rules-manager.php b/projects/packages/waf/src/class-waf-rules-manager.php index 0d97eb17896fa..ddfb55f6bfd1a 100644 --- a/projects/packages/waf/src/class-waf-rules-manager.php +++ b/projects/packages/waf/src/class-waf-rules-manager.php @@ -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. *