WordPress.org

Make WordPress Core

Changeset 45559


Ignore:
Timestamp:
06/22/2019 11:11:26 AM (5 months ago)
Author:
peterwilsoncc
Message:

Code is Poetry: CS Fixes required in wp-cron.php.

See #47396, #41057.

File:
1 edited

Legend:

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

    r44505 r45559  
    8989            return;
    9090        }
    91         $doing_cron_transient = $doing_wp_cron = sprintf( '%.22F', microtime( true ) );
     91        $doing_wp_cron        = sprintf( '%.22F', microtime( true ) );
     92        $doing_cron_transient = $doing_wp_cron;
    9293        set_transient( 'doing_cron', $doing_wp_cron );
    9394    } else {
     
    115116            $schedule = $v['schedule'];
    116117
    117             if ( $schedule != false ) {
     118            if ( ! $schedule ) {
    118119                $new_args = array( $timestamp, $schedule, $hook, $v['args'] );
    119120                call_user_func_array( 'wp_reschedule_event', $new_args );
Note: See TracChangeset for help on using the changeset viewer.