Changeset 44483 for trunk/src/wp-cron.php
- Timestamp:
- 01/08/2019 09:48:07 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-cron.php
r42343 r44483 67 67 } 68 68 69 if ( false === $crons = _get_cron_array() ) { 69 $crons = wp_get_ready_cron_jobs(); 70 if ( empty( $crons ) ) { 70 71 die(); 71 72 } 72 73 $keys = array_keys( $crons );74 $gmt_time = microtime( true );75 76 if ( isset( $keys[0] ) && $keys[0] > $gmt_time ) {77 die();78 }79 80 73 81 74 // The cron lock: a unix timestamp from when the cron was spawned.
Note: See TracChangeset
for help on using the changeset viewer.