WordPress.org

Make WordPress Core

Changeset 25225


Ignore:
Timestamp:
09/04/2013 04:49:40 AM (5 years ago)
Author:
dd32
Message:

WP_HTTP: Re-enable curl, it was accidentally left out of [25224]. See #25007 See #16606

File:
1 edited

Legend:

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

    r25224 r25225  
    216216     */
    217217    public function _get_first_available_transport( $args, $url = null ) {
    218         $request_order = apply_filters( 'http_api_transports', array( 'streams' ), $args, $url );
     218        $request_order = apply_filters( 'http_api_transports', array( 'curl', 'streams' ), $args, $url );
    219219
    220220        // Loop over each transport on each HTTP request looking for one which will serve this request's needs
Note: See TracChangeset for help on using the changeset viewer.