2 | 2 | If plugin A calls `wp_schedule_event` (or any function that loads the cron tasks via _get_cron_array()) on e.g. plugins_loaded, and plugin B calls `wp_schedule_event` later (e.g. shutdown), the option value retrieved initially is modified. If any other requests modified/scheduled crons in the meantime, all their scheduled crons are lost - or vice versa if cron is running at the same time but finishes before we call wp_schedule_event the 2nd time, it could mean that suddenly old crons that are already completed will be added back and run a 2nd time. |