Cavalcade icon indicating copy to clipboard operation
Cavalcade copied to clipboard

Access to wp-cron.php should be disabled when Cavalcade is in use

Open dd32 opened this issue 4 years ago • 2 comments

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.

dd32 avatar Jul 20 '20 04:07 dd32

Hm, yeah you'd think setting DISABLE_WP_CRON to true would stop the file from working. Thanks for flagging this.

roborourke avatar Jul 22 '20 10:07 roborourke

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.

peterwilsoncc avatar Aug 09 '20 08:08 peterwilsoncc