[wp-trac] [WordPress Trac] #18997: Adding wp_unschedule_hook function
WordPress Trac
wp-trac at lists.automattic.com
Fri Jan 6 21:32: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 nacin):
Perhaps too clever, or slower, but instead of `if ( empty ) unset();`, we
could also hold off until before we call _set_cron_array() and then do
`$cron = array_filter( $cron );` That will clear out empty values.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18997#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list