diff --git a/src/wp-includes/update.php b/src/wp-includes/update.php index 05069e5c6f..203bf5447b 100644 --- a/src/wp-includes/update.php +++ b/src/wp-includes/update.php @@ -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(