From 75e0ccc3a64e164d036da4f71f458520ddea3b24 Mon Sep 17 00:00:00 2001 From: donncha Date: Mon, 9 Oct 2006 11:39:17 +0000 Subject: WP Merge - needs testing. git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@797 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-cron.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wp-cron.php') 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']); -- cgit