From 9e85d070a8d2090e3e7d6155d3997ef8bb415bc1 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Thu, 19 Jun 2014 22:53:19 +0000 Subject: [PATCH] Remove SSL verification by default for requests to wp-cron.php. Props sivel, rhurling. Fixes #12609. Built from https://develop.svn.wordpress.org/trunk@28781 git-svn-id: http://core.svn.wordpress.org/trunk@28594 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/cron.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/cron.php b/wp-includes/cron.php index cd39a0899e..6a64effab4 100644 --- a/wp-includes/cron.php +++ b/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 ) ) ) );