[wp-trac] [WordPress Trac] #36682: More filters in the cron system, to allow more plugin interaction
WordPress Trac
noreply at wordpress.org
Wed Apr 27 08:15:38 UTC 2016
#36682: More filters in the cron system, to allow more plugin interaction
---------------------------+-----------------------------
Reporter: DavidAnderson | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Cron API | Version: trunk
Severity: normal | Keywords:
Focuses: |
---------------------------+-----------------------------
The attached patch adds two additional filters to wp-includes/cron.php.
These (when combined with the already-existing filters) should allow
(amongst other things) a plugin to reliably interact with any part of WP's
cron system, which currently is not possible (or only possible with gross
hacks, such as filtering on options loading of the 'cron' option).
This includes the possibility for a plugin to store the cron events in a
different storage mechanism entirely (i.e. store in a separate table,
instead of a single serialized options array). Various plugins which rely
upon reliable more cron events than the race-y system already implement
their own systems externally (e.g. see some of the discussion here:
https://github.com/woothemes/woocommerce/issues/3467 ), so there is
certainly demand for this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36682>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list