[wp-trac] [WordPress Trac] #18997: Adding wp_unschedule_hook function

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 7 03:58:13 UTC 2012


#18997: Adding wp_unschedule_hook function
-----------------------------+--------------------
 Reporter:  arena            |       Owner:  arena
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  3.4
Component:  Cron             |     Version:  3.3
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |
-----------------------------+--------------------

Comment (by arena):

 Replying to [comment:12 arena]:
 > Nacin, your point is interesting.
 >
 > May be this should be done once for all in
 >
 > _set_cron_array()
 >
 > simplifying all other functions calling _set_cron_array()

 since nacin tip, i reviewed the cron api and made some code changes :
 * to have _get_cron_array closer to _set_cron_array when possible
 * generalization of test empty( $crons ) after _get_cron_array()
 * added a '$action' argument in function _set_cron_array()

 patch is named #cron

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18997#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list