WordPress.org

Make WordPress Core

Changeset 44505


Ignore:
Timestamp:
01/09/2019 08:36:07 AM (15 months ago)
Author:
peterwilsoncc
Message:

Cron: Fix undefined variable notice.

Restore $gmt_time variable removed in error from [44483].

Props afragen.
Fixes #45870.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-cron.php

    r44488 r44505  
    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' );
Note: See TracChangeset for help on using the changeset viewer.