mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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
This commit is contained in:
parent
a90a53d574
commit
9e85d070a8
@ -278,7 +278,7 @@ function spawn_cron( $gmt_time = 0 ) {
|
|||||||
*
|
*
|
||||||
* @type int $timeout The request timeout in seconds. Default .01 seconds.
|
* @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 $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,
|
'timeout' => 0.01,
|
||||||
'blocking' => false,
|
'blocking' => false,
|
||||||
/** This filter is documented in wp-includes/class-http.php */
|
/** 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 )
|
||||||
)
|
)
|
||||||
) );
|
) );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user