mirror of
https://github.com/yunluo/gdk.git
synced 2024-05-05 07:53:34 +02:00
优化下载
This commit is contained in:
parent
c9da4d2d45
commit
e98fa1bc6c
|
@ -44,7 +44,7 @@ add_action('wp_ajax_get_new_version', 'gdk_ajax_get_update');
|
|||
//Ajax安装插件更新
|
||||
function gdk_ajax_install_update()
|
||||
{
|
||||
$url = 'http://a.gitcafe.net/gdk.zip?v=2020';
|
||||
$url = 'http://a.gitcafe.net/gdk.zip?v=' . date("His");
|
||||
unzip_url($url, ABSPATH . 'wp-content/plugins');
|
||||
exit(1);
|
||||
|
||||
|
|
Loading…
Reference in a new issue