Make WordPress Core

Changeset 10190


Ignore:
Timestamp:
12/11/2008 06:08:58 PM (15 years ago)
Author:
westi
Message:

Test for curl_exec as well to catch hosts that disable it but not curl_init. Fixes #8577 for trunk props sivel.

File:
1 edited

Legend:

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

    r10150 r10190  
    10631063     */
    10641064    function test() {
    1065         if ( function_exists('curl_init') )
     1065        if ( function_exists('curl_init') && function_exists('curl_exec') )
    10661066            return true;
    10671067
Note: See TracChangeset for help on using the changeset viewer.