WordPress.org

Make WordPress Core

Changeset 9575


Ignore:
Timestamp:
11/08/08 23:13:33 (7 years ago)
Author:
ryan
Message:

Add missing array keys. fixes #8121

File:
1 edited

Legend:

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

    r9572 r9575  
    141141        if ( is_null($working_transport) ) { 
    142142            if ( true === WP_Http_ExtHttp::test() && apply_filters('use_http_extension_transport', true) ) { 
    143                 $working_transport[] = new WP_Http_ExtHttp(); 
     143                $working_transport['exthttp'] = new WP_Http_ExtHttp(); 
    144144                $blocking_transport[] = &$working_transport['exthttp']; 
    145145            } else if ( true === WP_Http_Streams::test() && apply_filters('use_streams_transport', true) ) { 
    146                 $working_transport[] = new WP_Http_Streams(); 
     146                $working_transport['streams'] = new WP_Http_Streams(); 
    147147                $blocking_transport[] = &$working_transport['streams']; 
    148148            } else if ( true === WP_Http_Fsockopen::test() && apply_filters('use_fsockopen_transport', true) ) { 
    149                 $working_transport[] = new WP_Http_Fsockopen(); 
     149                $working_transport['fsockopen'] = new WP_Http_Fsockopen(); 
    150150                $blocking_transport[] = &$working_transport['fsockopen']; 
    151151            } 
Note: See TracChangeset for help on using the changeset viewer.