Make WordPress Core

Ticket #31307: 31307.2.diff

File 31307.2.diff, 820 bytes (added by ericlewis, 9 years ago)
  • src/wp-includes/cron.php

     
    312312         *         @type bool $sslverify Whether SSL should be verified for the request. Default false.
    313313         *     }
    314314         * }
     315         * @param string $doing_wp_cron The unix timestamp of the cron lock.
    315316         */
    316317        $cron_request = apply_filters( 'cron_request', array(
    317318                'url'  => add_query_arg( 'doing_wp_cron', $doing_wp_cron, site_url( 'wp-cron.php' ) ),
     
    322323                        /** This filter is documented in wp-includes/class-wp-http-streams.php */
    323324                        'sslverify' => apply_filters( 'https_local_ssl_verify', false )
    324325                )
    325         ) );
     326        ), $doing_wp_cron );
    326327
    327328        wp_remote_post( $cron_request['url'], $cron_request['args'] );
    328329}