Make WordPress Core


Ignore:
Timestamp:
01/08/2016 11:53:10 PM (11 years ago)
Author:
ericlewis
Message:

Cron: Add the cron lock timestamp to the 'cron_request' filter arguments.

Fixes #31307

File:
1 edited

Legend:

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

    r36022 r36228  
    299299         *
    300300         * @since 3.5.0
     301         * @since 4.5.0 $doing_wp_cron was added to the filter arguments.
    301302         *
    302303         * @param array $cron_request_array {
    … …  
    313314         *     }
    314315         * }
     316         * @param string $doing_wp_cron The unix timestamp of the cron lock.
    315317         */
    316318        $cron_request = apply_filters( 'cron_request', array(
    … …  
    323325                        'sslverify' => apply_filters( 'https_local_ssl_verify', false )
    324326                )
    325         ) );
     327        ), $doing_wp_cron );
    326328
    327329        wp_remote_post( $cron_request['url'], $cron_request['args'] );
Note: See TracChangeset for help on using the changeset viewer.