Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #24160, comment 22


Ignore:
Timestamp:
01/31/2021 09:35:54 PM (4 years ago)
Author:
johnbillion
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24160, comment 22

    v1 v2  
    66This 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.
    77
    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.
     8To 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.