Skip to content

WAF: Ensure that non-set $_SERVER['REQUEST_METHOD'] is treated the same as CLI in the sense that the WAF is skipped.#49465

Merged
ArSn merged 2 commits into
trunkfrom
fix/protect-174-cli-cron-403
Jun 12, 2026
Merged

WAF: Ensure that non-set $_SERVER['REQUEST_METHOD'] is treated the same as CLI in the sense that the WAF is skipped.#49465
ArSn merged 2 commits into
trunkfrom
fix/protect-174-cli-cron-403

Change the check to "! isset" to be even safer in detecting CLI envir…

c843a64
Select commit
Loading
Failed to load commit list.
JP Launch Control / WordPress.com Tests succeeded Jun 11, 2026 in 4m 13s

Passed! 222884-ghe-Automattic/wpcom

WordPress.com Tests run 18121306 - 222884-ghe-Automattic/wpcom

Tests have passed. See 222884-ghe-Automattic/wpcom for details.