Make WordPress Core

Changeset 34174


Ignore:
Timestamp:
09/15/2015 08:11:11 AM (9 years ago)
Author:
johnbillion
Message:

Place the filter docblock for http_api_transports immediately above the filter.

See #33413
Props dd32

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-http.php

    r34123 r34174  
    300300     */
    301301    public function _get_first_available_transport( $args, $url = null ) {
     302        $transports = array( 'curl', 'streams' );
    302303        /**
    303304         * Filter which HTTP transports are available and in what order.
     
    310311         * @param string $url        The URL to request.
    311312         */
    312         $transports = array( 'curl', 'streams' );
    313313        $request_order = apply_filters( 'http_api_transports', $transports, $args, $url );
    314314
Note: See TracChangeset for help on using the changeset viewer.