diff options
Diffstat (limited to 'wp-cron.php')
-rw-r--r-- | wp-cron.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-cron.php b/wp-cron.php index d992601..45cb9f3 100644 --- a/wp-cron.php +++ b/wp-cron.php @@ -17,7 +17,7 @@ foreach ($crons as $timestamp => $cronhooks) { do_action_ref_array($hook, $args['args']); $schedule = $args['schedule']; if ($schedule != false) { - $new_args = array_merge( array($timestamp, $schedule, $hook), $args['args']); + $new_args = array($timestamp, $schedule, $hook, $args['args']); call_user_func_array('wp_reschedule_event', $new_args); } wp_unschedule_event($timestamp, $hook, $args['args']); |