From 596bbe36a900120fc3b448c381730763ee0de6da Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Sun, 24 Nov 2013 21:49:09 +0000 Subject: [PATCH] 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 --- wp-includes/cron.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/cron.php b/wp-includes/cron.php index 4e9bbcd312..5538a58e7c 100644 --- a/wp-includes/cron.php +++ b/wp-includes/cron.php @@ -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,