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
This commit is contained in:
John Blackbourn 2015-09-15 08:12:25 +00:00
parent 1bed706d27
commit fdb8400379
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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.