[wp-trac] [WordPress Trac] #18997: Adding wp_unschedule_hook function
WordPress Trac
wp-trac at lists.automattic.com
Thu Jan 5 22:46:45 UTC 2012
#18997: Adding wp_unschedule_hook function
-----------------------------+------------------------------
Reporter: arena | Owner: arena
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Cron | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch |
-----------------------------+------------------------------
Comment (by Viper007Bond):
Replying to [comment:7 arena]:
> Done !
Just one more minor nitpick:
{{{
if ( empty( $crons[$timestamp] ) )
unset( $crons[$timestamp] );
}}}
We do `if`'s like that (line break in there) and with some extra spaces
inside of the `empty()`. :)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18997#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list