[wp-trac] Re: [WordPress Trac] #8590: Very slow after upgrade to 2.7

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 15 12:54:18 GMT 2008


#8590: Very slow after upgrade to 2.7
---------------------+------------------------------------------------------
 Reporter:  tin68    |        Owner:          
     Type:  defect   |       Status:  reopened
 Priority:  normal   |    Milestone:          
Component:  Upgrade  |      Version:  2.7     
 Severity:  normal   |   Resolution:          
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by DD32):

 Hm.. I dont think its likely, But try the latest version of the http.php
 file, it includes a change for hosts which disable Curl in odd ways:
 http://trac.wordpress.org/export/10204/branches/2.7/wp-includes/http.php I
 dont think thats your problem, but its worth checking since you're using
 the Curl transport.

 If the new file doesnt help, try disabling curl

 About line 1060 you'll find:
 {{{
         function test() {
                 if ( function_exists('curl_init') &&
 function_exists('curl_exec') )
                         return true;

                 return false;
         }
 }}}
 change it to:
 {{{
         function test() {
                 return false;
                 if ( function_exists('curl_init') &&
 function_exists('curl_exec') )
                         return true;

                 return false;
         }
 }}}

 That'll cause it not to use Curl, and instead, it'll use the next
 available transport.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8590#comment:15>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list