WordPress自动升级超时Operation timed out after 30 解决方案

打开 wp-admin\includes\file.php

查找如下语句

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

将其中的30改大,如改成300:

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

保存即可。

Share

小 虾

哦也,我是小虾

You may also like...

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.