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:
Dominik Schilling (ocean90) 2013-11-24 21:48:32 +00:00
parent dcb22eb75f
commit a0f913563c
1 changed files with 1 additions and 1 deletions

View File

@ -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,