Beneath the Red Hood.

WordPress automatic upgrade timeout

Are you plagued by horrible internet connectivity, and do you keep getting errors like this one, when you try to upgrade your WordPress blog?

Wordpress upgrade timeout

I kept getting the same error over and over again, and decided there’s a better way of overcoming this problem. Thanks to Nazham, he had some pointers on his blog to share on how you can edit the file (/wp-admin/includes/file.php) and modify this line:

$response = wp_remote_get($url, array(’timeout’ => 30));

to increase the timeout to something longer like 120.

Wordpress upgrade time out

However, this method apparently is overwritten when you upgrade your WordPress installation in the future. Felix Ker has a plugin that permanently fixes this problem, perhaps you could try it out instead.

This entry was posted in Blog, Design & Technology and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>