Changeset 9181
- Timestamp:
- 10/15/2008 06:00:42 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/cron.php
r8927 r9181 21 21 */ 22 22 function wp_schedule_single_event( $timestamp, $hook, $args = array()) { 23 // don't schedule a duplicate if there's already an identical event due in the next 10 minutes 24 $next = wp_next_scheduled($hook, $args); 25 if ( $next && $next <= $timestamp + 600 ) 26 return; 27 23 28 $crons = _get_cron_array(); 24 29 $key = md5(serialize($args));
Note: See TracChangeset
for help on using the changeset viewer.