Ticket #8577: http-php.diff
File http-php.diff, 452 bytes (added by , 16 years ago) |
---|
-
wp-includes/http.php
1062 1062 * @return boolean False means this class can not be used, true means it can. 1063 1063 */ 1064 1064 function test() { 1065 if ( function_exists('curl_init') )1065 if ( function_exists('curl_init') && function_exists('curl_exec') ) 1066 1066 return true; 1067 1067 1068 1068 return false;