Changeset 10969
- Timestamp:
- 04/17/2009 12:23:48 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/cron.php
r10898 r10969 89 89 return false; 90 90 91 while ( $timestamp < time() + 1 ) 92 $timestamp += $interval; 91 $now = time(); 92 93 if ( $timestamp >= $now ) 94 $timestamp = $now + $interval; 95 else 96 $timestamp = $now + ($interval - (($now - $timestamp) % $interval)); 93 97 94 98 wp_schedule_event( $timestamp, $recurrence, $hook, $args );
Note: See TracChangeset
for help on using the changeset viewer.