From f68351e2da29fb16bfe50b172691ffb600689c66 Mon Sep 17 00:00:00 2001 From: Hai Zheng Date: Fri, 27 Sep 2024 16:32:06 -0400 Subject: [PATCH] v7.0-a10: * **GUI** New QUIC.cloud CDN tab. --- litespeed-cache.php | 4 +- readme.txt | 2 + tpl/cdn/qc.tpl.php | 119 ++++++++++++++++++++------------------------ 3 files changed, 57 insertions(+), 68 deletions(-) diff --git a/litespeed-cache.php b/litespeed-cache.php index 79e14cb2d..35d3f8513 100644 --- a/litespeed-cache.php +++ b/litespeed-cache.php @@ -4,7 +4,7 @@ * Plugin Name: LiteSpeed Cache * Plugin URI: https://www.litespeedtech.com/products/cache-plugins/wordpress-acceleration * Description: High-performance page caching and site optimization from LiteSpeed - * Version: 7.0-a9 + * Version: 7.0-a10 * Author: LiteSpeed Technologies * Author URI: https://www.litespeedtech.com * License: GPLv3 @@ -34,7 +34,7 @@ return; } -!defined('LSCWP_V') && define('LSCWP_V', '7.0-a9'); +!defined('LSCWP_V') && define('LSCWP_V', '7.0-a10'); !defined('LSCWP_CONTENT_DIR') && define('LSCWP_CONTENT_DIR', WP_CONTENT_DIR); !defined('LSCWP_DIR') && define('LSCWP_DIR', __DIR__ . '/'); // Full absolute path '/var/www/html/***/wp-content/plugins/litespeed-cache/' or MU diff --git a/readme.txt b/readme.txt index 09bc9f25c..f42efa7c8 100644 --- a/readme.txt +++ b/readme.txt @@ -260,6 +260,8 @@ You can report security bugs through the Patchstack Vulnerability Disclosure Pro * **Core** Minimum required PHP version escalated to PHP v7.2.0. * **Core** Minimum required WP version escalated to WP v5.3. * **Cloud** Dropped `Domain Key`. Used sodium encryption for authentication and validation. +* **Config** Improved QUIC.cloud CDN config to auto turn ON after activiated online service. +* **GUI** New QUIC.cloud CDN tab. * **GUI** Switch buttons rtl compatibility. (Eliza/Mehrshad Darzi #603) * **Tag** Fixed a potential warning in tags. (ikiterder) * **Misc** Improved readme file by adding min supported PHP/WP versions. (Viktor Szépe) diff --git a/tpl/cdn/qc.tpl.php b/tpl/cdn/qc.tpl.php index 70572f4c4..80d1ae9b5 100644 --- a/tpl/cdn/qc.tpl.php +++ b/tpl/cdn/qc.tpl.php @@ -4,79 +4,66 @@ defined('WPINC') || exit; +$__cloud = Cloud::cls(); +$cloud_summary = Cloud::get_summary(); + ?> +


- : My QUIC.cloud + + + + + + : My QUIC.cloud
- -

- -

- - - - - - - - - $cnt) { - echo ''; - } ?> - -
- - - -
' . wp_kses_post($type) . '' . wp_kses_post($cnt) . '
+activated()) : ?> +
+
+
+

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

+ +
+
+
-

- -

-

- +

', - false, - 'litespeed-link-with-icon' + Utility::build_url(Router::ACTION_CLOUD, Cloud::TYPE_ACTIVATE), + __('Activate QUIC.cloud', 'litespeed-cache'), + true, + 'button litespeed-btn-warning' ); ?> -

-

- -

- - - - -
-
- -

- -

- -

- -

- -

- - - -

- - -

- -

\ No newline at end of file + +
+

+ +

+

+ +

+

+ more!', 'litespeed-cache'), ' href="https://www.quic.cloud/quic-cloud-services-and-features/litespeed-cache-service/" target="_blank"'); ?> +

+
+ QUIC.cloud +
+
+ + load_qc_status_for_dash('cdn_dash'); ?> + \ No newline at end of file