Dear everyone,
Having the same problem just after upgrade to WP 2.9
To fix it, you just need to modify the script as pointed out by eric.fournier
Edit /wp-includes/http.php and change the if statement on line 1300 to this:
if ( defined( ‘CURLOPT_TIMEOUT_MS’ ) ) {
// EDF – The option doesn’t work with safe mode or when open_basedir is set. More
// research is probably necessary however this seems to fix the problems I was
// seeing in the “WordPress Development Blog” section of the Dashboard.
if ( !ini_get(‘safe_mode’) && !ini_get(‘open_basedir’) ) {
$timeout_ms = (int) ceil( 1000 * $r[‘timeout’] );
curl_setopt( $handle, CURLOPT_CONNECTTIMEOUT_MS, $timeout_ms );
curl_setopt( $handle, CURLOPT_TIMEOUT_MS, $timeout_ms );
}
} else {
$timeout = (int) ceil( $r[‘timeout’] );
curl_setopt( $handle, CURLOPT_CONNECTTIMEOUT, $timeout );
curl_setopt( $handle, CURLOPT_TIMEOUT, $timeout );
}
The only problem now is, I have to modify the said code one-by-one, manually for each websites which I am currently handling with.
Anyway, thank you very much for sharing the way how to resolve this matter.
https://www.arifabdull.com