### Eclipse Workspace Patch 1.0
#P wordpress-trunk
Index: wp-includes/class-http.php
===================================================================
--- wp-includes/class-http.php	(revision 17551)
+++ wp-includes/class-http.php	(working copy)
@@ -872,7 +872,13 @@
 		if ( ! function_exists('fopen') || (function_exists('ini_get') && true != ini_get('allow_url_fopen')) )
 			return false;
 
-		return apply_filters('use_streams_transport', true, $args);
+		$use = true;
+
+		if ( isset( $args['ssl'] ) && $args['ssl'] ) {
+			$use = in_array( 'ssl', stream_get_transports() );
+		}
+
+		return (bool) apply_filters( 'use_streams_transport', $use, $args );
 	}
 }
 
