From fdb84003796e9d180edcd463e21c04dc1a0d6eda Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Tue, 15 Sep 2015 08:12:25 +0000 Subject: [PATCH] Place the filter docblock for `http_api_transports` immediately above the filter. See #33413 Props dd32 Built from https://develop.svn.wordpress.org/trunk@34174 git-svn-id: http://core.svn.wordpress.org/trunk@34142 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-http.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.