From ac84f12d0efafa59e24162b2f5b7b59372e4ef4f Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Tue, 3 Sep 2013 07:11:35 +0000 Subject: [PATCH] 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 --- src/wp-includes/update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(