Cron Request: Fix incorrect use of add_query_arg() arguments.
props datafeedrcom, dimadin. see [26267]. fixes #26218. git-svn-id: https://develop.svn.wordpress.org/trunk@26365 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
dcb22eb75f
commit
a0f913563c
|
@ -272,7 +272,7 @@ function spawn_cron( $gmt_time = 0 ) {
|
|||
* }
|
||||
*/
|
||||
$cron_request = apply_filters( 'cron_request', array(
|
||||
'url' => add_query_arg( array( 'doing_wp_cron', $doing_wp_cron ), site_url( 'wp-cron.php' ) ),
|
||||
'url' => add_query_arg( 'doing_wp_cron', $doing_wp_cron, site_url( 'wp-cron.php' ) ),
|
||||
'key' => $doing_wp_cron,
|
||||
'args' => array(
|
||||
'timeout' => 0.01,
|
||||
|
|
Loading…
Reference in New Issue