WordPress.org

Make WordPress Core

Ticket #8577: http-php.diff

File http-php.diff, 452 bytes (added by sivel, 9 years ago)
  • wp-includes/http.php

     
    10621062         * @return boolean False means this class can not be used, true means it can.
    10631063         */
    10641064        function test() {
    1065                 if ( function_exists('curl_init') )
     1065                if ( function_exists('curl_init') && function_exists('curl_exec') )
    10661066                        return true;
    10671067
    10681068                return false;