Changeset 26149 for trunk/src/wp-includes/update.php
- Timestamp:
- 11/14/2013 04:03:27 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/update.php
r26081 r26149 585 585 } 586 586 $next = $next - get_option( 'gmt_offset' ) * HOUR_IN_SECONDS; 587 // Add a random number of minutes, so we don't have all sites trying to update exactly on the hour 588 $next = $next + rand( 0, 59 ) * MINUTE_IN_SECONDS; 587 589 wp_schedule_event( $next, 'twicedaily', 'wp_maybe_auto_update' ); 588 590 }
Note: See TracChangeset
for help on using the changeset viewer.