Ticket #58471: 58471-1.diff
File 58471-1.diff, 530 bytes (added by , 18 months ago) |
---|
-
src/wp-includes/cron.php
diff --git a/src/wp-includes/cron.php b/src/wp-includes/cron.php index 663f819ab0..255be3c72e 100644
a b function spawn_cron( $gmt_time = 0 ) { 845 845 * Multiple processes on multiple web servers can run this code concurrently, 846 846 * this lock attempts to make spawning as atomic as possible. 847 847 */ 848 $lock = get_transient( 'doing_cron' );848 $lock = (int) get_transient( 'doing_cron' ); 849 849 850 850 if ( $lock > $gmt_time + 10 * MINUTE_IN_SECONDS ) { 851 851 $lock = 0;