打开 wordpress\wp-admin\includes\file.php
找到 $response = wp_remote_get($url, array(‘timeout’ => 30)); 这一行,在function download_url( $url )这个函数中,如果使用的是 WordPress 2.7的话,那么在第444行。
将此行修改为: $response = wp_remote_get($url, array(‘timeout’ => 120));
将超时时间修改为2分钟,再次更新插件,哈哈,终于成功了!
转载自:http://blog.zxlm.cn/show-12568-1.html