WordPress.org

Make WordPress Core

Changeset 10191


Ignore:
Timestamp:
12/11/2008 06:10:30 PM (9 years ago)
Author:
westi
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.7/wp-includes/http.php

    r10150 r10191  
    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.