mirror of
https://github.com/WenPai-org/wp-china-yes.git
synced 2025-08-04 20:19:53 +08:00
refactor:更新下载服务器为download.wp-china-yes.net
This commit is contained in:
parent
45e77a673a
commit
507a9eaa9b
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ if (is_admin()) {
|
|||
} else {
|
||||
$url = str_replace('api.wordpress.org', 'api-original.wp-china-yes.net', $url);
|
||||
}
|
||||
$url = str_replace('downloads.wordpress.org', 'd.w.org.ibadboy.net', $url);
|
||||
$url = str_replace('downloads.wordpress.org', 'download.wp-china-yes.net', $url);
|
||||
|
||||
return wp_remote_request($url, $r);
|
||||
}, 10, 3);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue