[wp-trac] [WordPress Trac] #45870: Error in wp-cron.php $gmt_time not defined

WordPress Trac noreply at wordpress.org
Wed Jan 9 02:20:32 UTC 2019


#45870: Error in wp-cron.php $gmt_time not defined
--------------------------+----------------------------
 Reporter:  afragen       |       Owner:  peterwilsoncc
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  5.1
Component:  Cron API      |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+----------------------------

Comment (by afragen):

 I think changing line 100 to {{{ if ( $timestamp > microtime( true ) ) {
 }}} should fix it.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45870#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list