Changeset 4190
- Timestamp:
- 09/14/06 00:18:05 (2 years ago)
- Files:
-
- trunk/wp-cron.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-cron.php
r4189 r4190 18 18 $schedule = $args['schedule']; 19 19 if ($schedule != false) { 20 $ args = array_merge( array($timestamp, $schedule, $hook), $args['args']);21 call_user_func_array('wp_reschedule_event', $ args);20 $new_args = array_merge( array($timestamp, $schedule, $hook), $args['args']); 21 call_user_func_array('wp_reschedule_event', $new_args); 22 22 } 23 wp_unschedule_event($timestamp, $hook );23 wp_unschedule_event($timestamp, $hook, $args['args']); 24 24 } 25 wp_unschedule_event($timestamp, $hook, $args);26 25 } 27 26 }
