Make WordPress Core


Ignore:
Timestamp:
10/27/2013 09:08:25 PM (11 years ago)
Author:
nacin
Message:

When an HTTPS request to api.wordpress.org fails, try an insecure HTTP request and issue a warning.

Certain versions of cURL appear to claim OpenSSL support but fail to work. We need to not trap users on older versions while we work this out, and instead fall back to an insecure request.

see #25716 for trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/update-core.php

    r25880 r25956  
    147147        _e('You have the latest version of WordPress.');
    148148
    149         if ( wp_http_supports( 'ssl' ) ) {
     149        if ( wp_http_supports( array( 'ssl' ) ) ) {
    150150            require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
    151151            $upgrader = new WP_Automatic_Updater;
Note: See TracChangeset for help on using the changeset viewer.