From 8427ebfd06716c8e09af5280ec86811eccb9f57b Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Tue, 14 Jun 2016 07:43:28 +0000 Subject: [PATCH] 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 --- wp-admin/network/upgrade.php | 6 +++++- wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/wp-admin/network/upgrade.php b/wp-admin/network/upgrade.php index ab2183fd53..32f9295a07 100644 --- a/wp-admin/network/upgrade.php +++ b/wp-admin/network/upgrade.php @@ -69,7 +69,11 @@ switch ( $action ) { echo "
  • $siteurl
  • "; - $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 ) ) { wp_die( sprintf( /* translators: 1: site url, 2: server error message */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 4f51cef6a7..24be859be9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @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.