WordPress.org

Make WordPress Core

Changeset 25220


Ignore:
Timestamp:
09/03/13 07:11:35 (4 years ago)
Author:
dd32
Message:

Core Updates: Ensure that the system supports outgoing HTTPS requests before making an update check over HTTPS. Fixes a typo in [25219]. See #22704

File:
1 edited

Legend:

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

    r25219 r25220  
    7878    $url = 'http://api.wordpress.org/core/version-check/1.7/?' . http_build_query( $query, null, '&' ); 
    7979 
    80     if ( wp_http_supports( 'ssl' ) ) 
     80    if ( wp_http_supports( array( 'ssl' ) ) ) 
    8181        $url = set_url_scheme( $url, 'https' ); 
    8282 
Note: See TracChangeset for help on using the changeset viewer.