Ticket #8622: 8622.3.diff
File 8622.3.diff, 2.1 KB (added by , 15 years ago) |
---|
-
class-http.php
92 92 if ( true === WP_Http_ExtHttp::test($args) ) { 93 93 $working_transport['exthttp'] = new WP_Http_ExtHttp(); 94 94 $blocking_transport[] = &$working_transport['exthttp']; 95 } else if ( true === WP_Http_Curl::test($args) ) { 95 } 96 if ( true === WP_Http_Curl::test($args) ) { 96 97 $working_transport['curl'] = new WP_Http_Curl(); 97 98 $blocking_transport[] = &$working_transport['curl']; 98 } else if ( true === WP_Http_Streams::test($args) ) { 99 } 100 if ( true === WP_Http_Streams::test($args) ) { 99 101 $working_transport['streams'] = new WP_Http_Streams(); 100 102 $blocking_transport[] = &$working_transport['streams']; 101 } else if ( true === WP_Http_Fopen::test($args) ) { 103 } 104 if ( true === WP_Http_Fopen::test($args) ) { 102 105 $working_transport['fopen'] = new WP_Http_Fopen(); 103 106 $blocking_transport[] = &$working_transport['fopen']; 104 } else if ( true === WP_Http_Fsockopen::test($args) ) { 107 } 108 if ( true === WP_Http_Fsockopen::test($args) ) { 105 109 $working_transport['fsockopen'] = new WP_Http_Fsockopen(); 106 110 $blocking_transport[] = &$working_transport['fsockopen']; 107 111 } … … 142 146 if ( true === WP_Http_ExtHttp::test($args) ) { 143 147 $working_transport['exthttp'] = new WP_Http_ExtHttp(); 144 148 $blocking_transport[] = &$working_transport['exthttp']; 145 } else if ( true === WP_Http_Curl::test($args) ) { 149 } 150 if ( true === WP_Http_Curl::test($args) ) { 146 151 $working_transport['curl'] = new WP_Http_Curl(); 147 152 $blocking_transport[] = &$working_transport['curl']; 148 } else if ( true === WP_Http_Streams::test($args) ) { 153 } 154 if ( true === WP_Http_Streams::test($args) ) { 149 155 $working_transport['streams'] = new WP_Http_Streams(); 150 156 $blocking_transport[] = &$working_transport['streams']; 151 } else if ( true === WP_Http_Fsockopen::test($args) ) { 157 } 158 if ( true === WP_Http_Fsockopen::test($args) ) { 152 159 $working_transport['fsockopen'] = new WP_Http_Fsockopen(); 153 160 $blocking_transport[] = &$working_transport['fsockopen']; 154 161 }