From 1e1ef93bab7dadd32621d74f8c5bc7c037bebc97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=91=E8=90=BD?= Date: Tue, 28 Jan 2020 02:08:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gdk_route.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk_route.php b/gdk_route.php index 69fefe3..54c4dd0 100644 --- a/gdk_route.php +++ b/gdk_route.php @@ -17,7 +17,7 @@ function deactivate_myself() { deactivate_plugins( plugin_basename( __FILE__ ) ); wp_die('启动失败,积木插件需要运行在 PHP 7.2 版本及更高的环境下。'); } -if (!version_compare(PHP_VERSION, '7.2.26', '>=')) { +if (!version_compare(PHP_VERSION, '7.2', '>=')) { add_action('update_option_active_plugins', 'deactivate_myself'); }