[wp-trac] [WordPress Trac] #25266: wp_unschedule_event should apply filter to changes

WordPress Trac noreply at wordpress.org
Sun Dec 6 21:54:32 UTC 2015


#25266: wp_unschedule_event should apply filter to changes
-------------------------+------------------------------
 Reporter:  _ck_         |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Cron API     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------------
Changes (by jrtashjian):

 * keywords:  needs-patch => has-patch


Comment:

 Patch adds a filter hook so we can hook into wp_unschedule_event before
 retrieving, removing, and updating the scheduled hooks. I left out the
 check to determine if we should write to the database because it's a cheap
 operation and probably not absolutely necessary. If people feel it should
 be there I'll add it in the future.

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


More information about the wp-trac mailing list