validate_cron_request, which apparently runs all the time, you do:
if ( !defined( 'DOING_CRON' ) ) define( 'DOING_CRON', true );
This breaks quite a few things, including Genesis layout settings saving, as that’s checking for “DOING_CRON” and bails if it’s set to 1. I doubt setting that to true here is really needed?
- The topic ‘Defining WP_CRON as running is, well, wrong.’ is closed to new replies.