Changeset 26450 for branches/3.7/src/wp-includes/update.php
- Timestamp:
- 11/28/2013 02:35:00 AM (11 years ago)
- Location:
- branches/3.7
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.7
-
branches/3.7/src
- Property svn:mergeinfo changed
/trunk/src merged: 26149
- Property svn:mergeinfo changed
-
branches/3.7/src/wp-includes/update.php
r25957 r26450 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.