From 036c2b5fca068cd0c5d2dcecf634403d0ce00af2 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Thu, 19 Jun 2014 22:52:35 +0000 Subject: [PATCH] Remove SSL verification by default for requests to wp-cron.php. Props sivel, rhurling. Fixes #12609. git-svn-id: https://develop.svn.wordpress.org/trunk@28781 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/cron.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/cron.php b/src/wp-includes/cron.php index cd39a0899e..6a64effab4 100644 --- a/src/wp-includes/cron.php +++ b/src/wp-includes/cron.php @@ -278,7 +278,7 @@ function spawn_cron( $gmt_time = 0 ) { * * @type int $timeout The request timeout in seconds. Default .01 seconds. * @type bool $blocking Whether to set blocking for the request. Default false. - * @type bool $sslverify Whether to sslverify. Default true. + * @type bool $sslverify Whether SSL should be verified for the request. Default false. * } * } */ @@ -289,7 +289,7 @@ function spawn_cron( $gmt_time = 0 ) { 'timeout' => 0.01, 'blocking' => false, /** This filter is documented in wp-includes/class-http.php */ - 'sslverify' => apply_filters( 'https_local_ssl_verify', true ) + 'sslverify' => apply_filters( 'https_local_ssl_verify', false ) ) ) );