13bb9c5ef4
Improves the logic in `wp_schedule_single_event()` to ensure an identical event is not scheduled within ten minutes. This moves the logic for checking for identical events to be self contained rather than relying on `wp_next_scheduled()` as this fails to account for events with a past timestamp when wp-cron fails to trigger or for multiple identical events being scheduled already. Props bodohugobarwich. Fixes #44818. git-svn-id: https://develop.svn.wordpress.org/trunk@44917 602fd350-edb4-49c9-b593-d223f7449a82 |
||
---|---|---|
.. | ||
phpunit | ||
qunit |