A-A+

升级WordPress下载失败, Operation timed out after 30

2009年02月15日 WordPress 暂无评论 阅读 1 次

使用自动升级失败。

下载失败。:

Operation timed out after 30 seconds with 1524600 bytes received

网上查找时

Core and plugins auto-upgrade work fine now at slow connection. But I should to change timeout in function download_url() at wp-admin/includes/file.php to higher value. And after each update - change it again.

修改 wp-admin/includes/file.php

把 444行的 $response = wp_remote_get($url, array('timeout' => 30));

30改成300 或 600 后再次自动升级成功了

给我留言

Copyright © 浩然东方 保留所有权利.   Theme  Ality 07032740

用户登录