Ticket #31307: 31307.3.diff
File 31307.3.diff, 1.0 KB (added by , 9 years ago) |
---|
-
src/wp-includes/cron.php
298 298 * Filter the cron request arguments. 299 299 * 300 300 * @since 3.5.0 301 * @since 4.5.0 $doing_wp_cron was added to the filter arguments. 301 302 * 302 303 * @param array $cron_request_array { 303 304 * An array of cron request URL arguments. … … 312 313 * @type bool $sslverify Whether SSL should be verified for the request. Default false. 313 314 * } 314 315 * } 316 * @param string $doing_wp_cron The unix timestamp of the cron lock. 315 317 */ 316 318 $cron_request = apply_filters( 'cron_request', array( 317 319 'url' => add_query_arg( 'doing_wp_cron', $doing_wp_cron, site_url( 'wp-cron.php' ) ), … … 322 324 /** This filter is documented in wp-includes/class-wp-http-streams.php */ 323 325 'sslverify' => apply_filters( 'https_local_ssl_verify', false ) 324 326 ) 325 ) );327 ), $doing_wp_cron ); 326 328 327 329 wp_remote_post( $cron_request['url'], $cron_request['args'] ); 328 330 }