Defining WP_CRON as running is, well, wrong.
-
In
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?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Defining WP_CRON as running is, well, wrong.’ is closed to new replies.