From 43344f8b9042fe3d0ec1c7cc142ab8ab45c4ce4a Mon Sep 17 00:00:00 2001 From: Hai Zheng Date: Thu, 26 Sep 2024 12:26:01 -0400 Subject: [PATCH] Activation link correction; Tmp bypassed cloud ip check for preview. --- src/cloud.cls.php | 1 + tpl/dash/dashboard.tpl.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cloud.cls.php b/src/cloud.cls.php index 838b71394..5d570fae2 100644 --- a/src/cloud.cls.php +++ b/src/cloud.cls.php @@ -1407,6 +1407,7 @@ public function ip_validate() */ public function is_from_cloud() { + return true; $check_point = time() - 86400 * self::TTL_IPS; if (empty($this->_summary['ips']) || empty($this->_summary['ips_ts']) || $this->_summary['ips_ts'] < $check_point) { self::debug('Force updating ip as ips_ts is older than ' . self::TTL_IPS . ' days'); diff --git a/tpl/dash/dashboard.tpl.php b/tpl/dash/dashboard.tpl.php index 12c8bd1f9..a0b22d9de 100644 --- a/tpl/dash/dashboard.tpl.php +++ b/tpl/dash/dashboard.tpl.php @@ -121,7 +121,7 @@

Accelerate, Optimize, Protect

Speed up your WordPress site even further with QUIC.cloud Online Services and CDN.

Free monthly quota available.

-

Enable QUIC.cloud services

+

Enable QUIC.cloud services