From 9f7a563788af995289648619b1582389e8eb9463 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=91=E8=90=BD?= Date: Fri, 20 Mar 2020 21:58:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8F=92=E4=BB=B6=E6=A3=80?= =?UTF-8?q?=E6=B5=8B=E6=9B=B4=E6=96=B0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- framework/plugin-options.php | 2 +- functions/Ajax.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/plugin-options.php b/framework/plugin-options.php index 0698643..a30382d 100644 --- a/framework/plugin-options.php +++ b/framework/plugin-options.php @@ -376,7 +376,7 @@ jQuery(function ($) { function(a) { a = $.trim(a); if (a !== '400') { - $(".get_new_version").after("" + a + ""); + $(".get_new_version").after(a); }else{ $(".get_new_version").after("检测失败,网络错误"); } diff --git a/functions/Ajax.php b/functions/Ajax.php index 6ef29e5..f82e9b9 100644 --- a/functions/Ajax.php +++ b/functions/Ajax.php @@ -33,7 +33,7 @@ function gdk_ajax_get_update() $version = $plugin_info['version']; if (version_compare($version, GDK_PLUGIN_VER, '>')) { - exit('插件有更新,请及时查看!'); + exit('插件有更新,新版本:' . $version . ' '); } else { exit('你的插件目前已经是最新版了!'); }