[wp-trac] [WordPress Trac] #26301: wp_schedule_single_event doesnt work in 3.8 beta1
WordPress Trac
noreply at wordpress.org
Thu Nov 28 02:01:52 UTC 2013
#26301: wp_schedule_single_event doesnt work in 3.8 beta1
--------------------------+-----------------------------
Reporter: richardl@… | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Cron | Version:
Severity: normal | Keywords:
--------------------------+-----------------------------
Code which works in 3.5 and 3.7
wp_schedule_single_event(time() + $offset, 'myplugin_check_status_event');
...
add_action('myplugin_check_status_event', 'myplugin_check_status');
function myplugin_check_status() {
...
Does not work in 3.8 beta1, the action never fires.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/26301>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list