Changeset 47054 for trunk/src/wp-cron.php
- Timestamp:
- 01/09/2020 12:53:29 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-cron.php
r46733 r47054 106 106 * must match $doing_wp_cron (the "key"). 107 107 */ 108 if ( $doing_cron_transient != $doing_wp_cron ) {108 if ( $doing_cron_transient !== $doing_wp_cron ) { 109 109 return; 110 110 } … … 139 139 140 140 // If the hook ran too long and another cron process stole the lock, quit. 141 if ( _get_cron_lock() != $doing_wp_cron ) {141 if ( _get_cron_lock() !== $doing_wp_cron ) { 142 142 return; 143 143 } … … 146 146 } 147 147 148 if ( _get_cron_lock() == $doing_wp_cron ) {148 if ( _get_cron_lock() === $doing_wp_cron ) { 149 149 delete_transient( 'doing_cron' ); 150 150 }
Note: See TracChangeset
for help on using the changeset viewer.