Ticket #31405: network_upgrade_ssl.patch
File network_upgrade_ssl.patch, 984 bytes (added by , 10 years ago) |
---|
-
wp-admin/network/upgrade.php
64 64 $upgrade_url = admin_url( 'upgrade.php?step=upgrade_db' ); 65 65 restore_current_blog(); 66 66 echo "<li>$siteurl</li>"; 67 if( strpos( $url, $your_ssl_domain ) === false ) 68 $upgrade_url = str_replace( 'https', 'http', $upgrade_url ); 67 69 $response = wp_remote_get( $upgrade_url, array( 'timeout' => 120, 'httpversion' => '1.1' ) ); 68 70 if ( is_wp_error( $response ) ) 69 71 wp_die( sprintf( __( 'Warning! Problem updating %1$s. Your server may not be able to connect to sites running on it. Error message: <em>%2$s</em>' ), $siteurl, $response->get_error_message() ) );