WordPress.org

Make WordPress Core

Ticket #45870: 45870.diff

File 45870.diff, 336 bytes (added by afragen, 19 months ago)

add $gmt_time = microtome( true ); back

  • src/wp-cron.php

    diff --git src/wp-cron.php src/wp-cron.php
    index d487770f71..ca478e4c46 100644
    if ( empty( $crons ) ) { 
    7676        die();
    7777}
    7878
     79$gmt_time = microtime( true );
     80
    7981// The cron lock: a unix timestamp from when the cron was spawned.
    8082$doing_cron_transient = get_transient( 'doing_cron' );
    8183