[wp-trac] [WordPress Trac] #32656: Add hooks to allow hijacking cron implementation

WordPress Trac noreply at wordpress.org
Wed Mar 28 23:04:53 UTC 2018


#32656: Add hooks to allow hijacking cron implementation
-----------------------------------+----------------------------
 Reporter:  rmccue                 |       Owner:  peterwilsoncc
     Type:  feature request        |      Status:  assigned
 Priority:  normal                 |   Milestone:  5.0
Component:  Cron API               |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+----------------------------

Comment (by peterwilsoncc):

 Refreshed in [attachment:32656.3.diff] :

 * data format for passing events to the filters has been made more
 consistent
 * Added a hook to allow hijacking of rescheduling functions
 * Rescheduling may call `_get_cron_array()` before the hijack. This will
 need to change so wp-cron alternatives aren't required to generate in the
 cron option format (in both Human Made's Cavalcade and Automattic's Cron-
 Control this requires some ugly db queries)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32656#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list