Changeset 4362 for trunk/wp-includes/cron.php
- Timestamp:
- 10/08/2006 05:50:21 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/cron.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/cron.php
r4289 r4362 1 1 <?php 2 2 3 function wp_schedule_single_event( $timestamp, $hook ) { 4 $args = array_slice( func_get_args(), 2 ); 3 function wp_schedule_single_event( $timestamp, $hook, $args = array()) { 5 4 $crons = _get_cron_array(); 6 5 $key = md5(serialize($args)); … … 10 9 } 11 10 12 function wp_schedule_event( $timestamp, $recurrence, $hook ) { 13 $args = array_slice( func_get_args(), 3 ); 11 function wp_schedule_event( $timestamp, $recurrence, $hook, $args = array()) { 14 12 $crons = _get_cron_array(); 15 13 $schedules = wp_get_schedules(); … … 22 20 } 23 21 24 function wp_reschedule_event( $timestamp, $recurrence, $hook ) { 25 $args = array_slice( func_get_args(), 3 ); 22 function wp_reschedule_event( $timestamp, $recurrence, $hook, $args = array()) { 26 23 $crons = _get_cron_array(); 27 24 $schedules = wp_get_schedules();
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)