mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 15:31:42 +01:00
Upgrade/Install: Skip certificate verification when upgrading a network's sites. This avoids issues with self-signed certificates or otherwise invalid certificates.
Fixes #36975 Built from https://develop.svn.wordpress.org/trunk@37695 git-svn-id: http://core.svn.wordpress.org/trunk@37661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b8b7a00889
commit
8427ebfd06
@ -69,7 +69,11 @@ switch ( $action ) {
|
|||||||
|
|
||||||
echo "<li>$siteurl</li>";
|
echo "<li>$siteurl</li>";
|
||||||
|
|
||||||
$response = wp_remote_get( $upgrade_url, array( 'timeout' => 120, 'httpversion' => '1.1' ) );
|
$response = wp_remote_get( $upgrade_url, array(
|
||||||
|
'timeout' => 120,
|
||||||
|
'httpversion' => '1.1',
|
||||||
|
'sslverify' => false,
|
||||||
|
) );
|
||||||
if ( is_wp_error( $response ) ) {
|
if ( is_wp_error( $response ) ) {
|
||||||
wp_die( sprintf(
|
wp_die( sprintf(
|
||||||
/* translators: 1: site url, 2: server error message */
|
/* translators: 1: site url, 2: server error message */
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.6-alpha-37694';
|
$wp_version = '4.6-alpha-37695';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user