November 12th, 2009 | Categories: Wordpress | Tags: , ,

I had a problem about upgrade my plugins or WordPress. The problem is in the automatic update. I can’t search about this problem but JBJ found an answer for this problem. Let’s Begin…

Problem;

The problem is about response time. WordPress have 60 seconds to servers. Sometime we can’t update our plugins with new ones.

The Answer;

We will edit our WordPress Core files with this answer. Just go to (wp-admin/includes/file.php) and open file.php. Find line 448 and change 60 to another biggest number.

Code;

$response = wp_remote_get($url, array('timeout' => 60));

New Value;

$response = wp_remote_get($url, array('timeout' => 240));

Thanks for JBJ. Here is the Original Post: WordPress upgrade : Allow more time for slow servers


No comments yet.