Cron Request: Fix incorrect use of add_query_arg() arguments.
props datafeedrcom, dimadin. see [26267]. fixes #26218. Built from https://develop.svn.wordpress.org/trunk@26365 git-svn-id: http://core.svn.wordpress.org/trunk@26266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
146abf4cde
commit
596bbe36a9
|
@ -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