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/about.php

    r25883 r25956  
    6262            require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
    6363            $updater = new WP_Automatic_Updater;
    64             $can_auto_update = wp_http_supports( 'ssl' ) && $updater->should_update( 'core', $future_minor_update, ABSPATH );
     64            $can_auto_update = wp_http_supports( array( 'ssl' ) ) && $updater->should_update( 'core', $future_minor_update, ABSPATH );
    6565
    6666            if ( $can_auto_update ) {
Note: See TracChangeset for help on using the changeset viewer.