WordPress.org

Make WordPress Core

Ticket #14786: 14786.patch

File 14786.patch, 728 bytes (added by hakre, 11 years ago)
  • wp-includes/class-http.php

     
    8989                static $working_transport, $blocking_transport, $nonblocking_transport;
    9090
    9191                if ( is_null($working_transport) ) {
    92                         if ( true === WP_Http_ExtHttp::test($args) ) {
    93                                 $working_transport['exthttp'] = new WP_Http_ExtHttp();
     92                        if ( true === WP_Http_ExtHTTP::test($args) ) {
     93                                $working_transport['exthttp'] = new WP_Http_ExtHTTP();
    9494                                $blocking_transport[] = &$working_transport['exthttp'];
    9595                        } else if ( true === WP_Http_Curl::test($args) ) {
    9696                                $working_transport['curl'] = new WP_Http_Curl();