Changes between Version 1 and Version 2 of Ticket #24160, comment 22
- Timestamp:
- 01/31/2021 09:35:54 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #24160, comment 22
v1 v2 6 6 This means with `ALTERNATE_WP_CRON` in use, cron events run within the `init` hook on priority 10. Without it in use, they run after the `wp_loaded` action has fired. 7 7 8 To bring these two situations closer, the `wp_cron ` function should be hooked into `wp_loaded` with a late priority, as per Peter's comment and PR above.8 To bring these two situations closer, the `wp_cron()` function should be hooked into `wp_loaded` with a late priority, as per Peter's comment and PR above.