Open dd32 opened 4 years ago
Hm, yeah you'd think setting DISABLE_WP_CRON
to true would stop the file from working. Thanks for flagging this.
This part of Cavalcade is a storage engine, it’s compatible with wp-cli, wp-cron.php, and of course the Cavalcade runner.
If you must block wp-cron.php please only do it behind the constant and make it filterable.
Although it shouldn't happen, and should potentially be blocked at the server level, when Cavalcade is in use requests to
wp-cron.php
will still process any cron tasks.As seen in #103, this currently doesn't actually work as it triggers a fatal error, but that just clouds error logs.
Ideally, Cavalcade should probably block/terminate-early the HTTP request.