diff --git a/projects/plugins/debug-helper/modules/class-waf-helper.php b/projects/plugins/debug-helper/modules/class-waf-helper.php index c355c8f5d79d1..aa192d93a9100 100644 --- a/projects/plugins/debug-helper/modules/class-waf-helper.php +++ b/projects/plugins/debug-helper/modules/class-waf-helper.php @@ -5,6 +5,7 @@ * @package automattic/jetpack-debug-helper */ +use Automattic\Jetpack\Waf\Waf_Constants; use Automattic\Jetpack\Waf\Waf_Rules_Manager; use Automattic\Jetpack\Waf\Waf_Runner; @@ -223,7 +224,8 @@ public function render_ui() {

Rules Entrypoint

- render_waf_file( defined( 'JETPACK_WAF_ENTRYPOINT' ) && JETPACK_WAF_ENTRYPOINT ); ?> + + render_waf_file( JETPACK_WAF_ENTRYPOINT ) : 'Not set'; ?>