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

git-svn-id: https://develop.svn.wordpress.org/trunk@25220 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dion Hulse 2013-09-03 07:11:35 +00:00
parent 2da41fa7f0
commit ac84f12d0e
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ function wp_version_check() {
$url = 'http://api.wordpress.org/core/version-check/1.7/?' . http_build_query( $query, null, '&' );
if ( wp_http_supports( 'ssl' ) )
if ( wp_http_supports( array( 'ssl' ) ) )
$url = set_url_scheme( $url, 'https' );
$options = array(