From 98db8bb549a31509b49158efe498d334559fb828 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Tue, 3 Sep 2013 07:12:10 +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 Built from https://develop.svn.wordpress.org/trunk@25220 git-svn-id: http://core.svn.wordpress.org/trunk@25191 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/update.php b/wp-includes/update.php index 05069e5c6f..203bf5447b 100644 --- a/wp-includes/update.php +++ b/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(