WordPress.org

Make WordPress Core

Changeset 37695


Ignore:
Timestamp:
06/14/2016 07:42:49 AM (4 years ago)
Author:
johnbillion
Message:

Upgrade/Install: Skip certificate verification when upgrading a network's sites. This avoids issues with self-signed certificates or otherwise invalid certificates.

Fixes #36975

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/network/upgrade.php

    r36416 r37695  
    7070            echo "<li>$siteurl</li>";
    7171
    72             $response = wp_remote_get( $upgrade_url, array( 'timeout' => 120, 'httpversion' => '1.1' ) );
     72            $response = wp_remote_get( $upgrade_url, array(
     73                'timeout'     => 120,
     74                'httpversion' => '1.1',
     75                'sslverify'   => false,
     76            ) );
    7377            if ( is_wp_error( $response ) ) {
    7478                wp_die( sprintf(
Note: See TracChangeset for help on using the changeset viewer.