diff --git a/wp-includes/class-http.php b/wp-includes/class-http.php index 8422ca34af..886020ae26 100644 --- a/wp-includes/class-http.php +++ b/wp-includes/class-http.php @@ -299,6 +299,7 @@ class WP_Http { * @return string|false Class name for the first transport that claims to support the request. False if no transport claims to support the request. */ public function _get_first_available_transport( $args, $url = null ) { + $transports = array( 'curl', 'streams' ); /** * Filter which HTTP transports are available and in what order. * @@ -309,7 +310,6 @@ class WP_Http { * @param array $args HTTP request arguments. * @param string $url The URL to request. */ - $transports = array( 'curl', 'streams' ); $request_order = apply_filters( 'http_api_transports', $transports, $args, $url ); // Loop over each transport on each HTTP request looking for one which will serve this request's needs. diff --git a/wp-includes/version.php b/wp-includes/version.php index a81ee9f2a6..f56d026be7 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34173'; +$wp_version = '4.4-alpha-34174'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.