Peter Wilson
90f1ac17ec
Cron: Add hooks and a function to allow hijacking cron implementation.
...
This allows sites with a large cron option or a custom cron implementation to hijack the cron option to store cron data using custom functionality.
`wp_get_scheduled_event()` is new function to retrieve the event object for a given event based on the hook name, arguments and timestamp. If no timestamp is specified the next occurence is returned.
Preflight filters are added to all functions that read from or modify the cron option: `pre_schedule_event`, `pre_reschedule_event`, `pre_unschedule_event`, `pre_clear_scheduled_hook`, `pre_unschedule_hook`, `pre_get_scheduled_event` and `pre_next_scheduled`.
Additionally, the post scheduling hooks `next_scheduled` and `get_schedule` to allow plugins to modify an event after retrieving it from WordPress.
Props rmccue, DavidAnderson, ethitter, peterwilsoncc.
Fixes #32656 .
Built from https://develop.svn.wordpress.org/trunk@43540
git-svn-id: http://core.svn.wordpress.org/trunk@43369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-27 02:23:25 +00:00
..
2018-05-23 10:05:31 +00:00
2018-05-05 09:45:22 +00:00
2018-02-06 02:56:32 +00:00
2018-07-19 22:00:25 +00:00
2018-02-25 20:22:30 +00:00
2017-11-08 11:48:49 +00:00
2018-07-24 16:52:25 +00:00
2017-10-26 12:52:53 +00:00
2017-11-30 23:11:00 +00:00
2018-05-05 09:45:22 +00:00
2018-07-03 10:29:28 +00:00
2018-03-18 14:23:33 +00:00
2018-05-27 08:36:23 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2018-07-23 17:02:25 +00:00
2018-03-28 23:25:29 +00:00
2018-03-25 18:10:32 +00:00
2017-11-30 23:11:00 +00:00
2018-05-14 15:23:21 +00:00
2018-06-28 02:20:54 +00:00
2018-03-25 18:10:32 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2018-03-25 19:35:29 +00:00
2017-11-30 23:11:00 +00:00
2018-03-25 18:10:32 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2018-03-25 18:10:32 +00:00
2018-02-25 20:22:30 +00:00
2018-02-25 20:32:30 +00:00
2018-07-25 20:57:25 +00:00
2018-07-17 14:38:24 +00:00
2018-02-25 20:32:30 +00:00
2018-02-25 20:32:30 +00:00
2018-02-27 02:31:31 +00:00
2018-03-25 18:10:32 +00:00
2017-11-30 23:11:00 +00:00
2018-07-17 07:38:24 +00:00
2018-03-25 19:33:31 +00:00
2018-02-27 02:31:31 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2018-02-25 20:22:30 +00:00
2017-11-30 23:11:00 +00:00
2018-03-11 16:44:34 +00:00
2018-02-25 20:22:30 +00:00
2018-03-25 19:33:31 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2017-10-03 15:18:46 +00:00
2018-03-11 16:44:34 +00:00
2018-02-25 20:22:30 +00:00
2018-02-25 20:22:30 +00:00
2018-02-25 20:22:30 +00:00
2018-01-18 05:18:31 +00:00
2017-12-15 00:32:46 +00:00
2018-02-18 16:32:34 +00:00
2018-02-25 20:22:30 +00:00
2018-03-25 19:35:29 +00:00
2018-03-25 19:35:29 +00:00
2018-03-25 19:33:31 +00:00
2018-03-25 19:33:31 +00:00
2017-11-30 23:11:00 +00:00
2018-05-07 17:20:22 +00:00
2018-03-25 19:33:31 +00:00
2017-11-30 23:11:00 +00:00
2018-03-25 19:33:31 +00:00
2018-03-22 18:56:33 +00:00
2018-02-25 20:22:30 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2018-04-27 11:41:22 +00:00
2018-02-25 20:22:30 +00:00
2018-02-25 21:45:30 +00:00
2018-05-13 10:31:22 +00:00
2018-07-17 16:25:26 +00:00
2018-02-25 20:22:30 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2018-04-29 22:42:22 +00:00
2018-02-25 20:22:30 +00:00
2018-03-25 19:33:31 +00:00
2018-06-28 02:23:02 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2018-02-28 03:19:31 +00:00
2018-03-25 19:33:31 +00:00
2018-03-25 19:33:31 +00:00
2018-03-25 19:33:31 +00:00
2018-03-25 19:33:31 +00:00
2018-07-24 17:06:24 +00:00
2018-07-25 20:57:25 +00:00
2018-05-10 17:58:22 +00:00
2018-07-27 02:23:25 +00:00
2018-03-25 19:35:29 +00:00
2018-02-09 18:21:31 +00:00
2018-05-10 20:53:21 +00:00
2018-05-05 09:45:22 +00:00
2018-05-23 10:05:31 +00:00
2018-03-11 16:44:34 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2018-03-11 16:44:34 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2017-12-21 02:40:54 +00:00
2018-06-28 02:42:55 +00:00
2018-07-17 07:54:25 +00:00
2018-03-18 14:23:33 +00:00
2017-11-30 23:11:00 +00:00
2018-06-28 02:42:55 +00:00
2018-04-03 15:00:31 +00:00
2018-04-28 13:58:21 +00:00
2018-03-25 19:33:31 +00:00
2018-07-18 11:50:25 +00:00
2018-04-29 21:14:22 +00:00
2018-01-31 17:03:33 +00:00
2018-05-03 19:28:21 +00:00
2018-07-23 17:14:26 +00:00
2018-03-16 02:15:31 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2017-10-03 17:44:48 +00:00
2017-11-30 23:11:00 +00:00
2018-04-13 15:30:20 +00:00
2018-02-11 17:09:31 +00:00
2017-11-30 23:11:00 +00:00
2018-02-24 13:44:31 +00:00
2018-02-01 15:42:31 +00:00
2018-03-13 15:37:33 +00:00
2018-05-27 01:33:22 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2018-05-22 18:57:25 +00:00
2018-03-18 14:23:33 +00:00
2018-07-25 20:57:25 +00:00
2018-03-18 14:23:33 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2018-06-28 02:29:24 +00:00
2017-11-30 23:11:00 +00:00
2018-02-25 16:36:30 +00:00
2018-07-23 17:02:25 +00:00
2017-11-30 23:11:00 +00:00
2018-02-09 16:55:31 +00:00
2018-04-30 04:51:22 +00:00
2018-03-22 20:27:32 +00:00
2018-07-17 13:53:25 +00:00
2017-11-30 23:11:00 +00:00
2018-07-27 02:23:25 +00:00
2018-05-15 16:55:21 +00:00
2018-04-28 14:44:23 +00:00
2017-11-30 23:11:00 +00:00