diff --git a/litespeed-cache.php b/litespeed-cache.php index c599844d4..e550448e2 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: 6.5.1-b1 + * Version: 6.5.1-rc1 * Author: LiteSpeed Technologies * Author URI: https://www.litespeedtech.com * License: GPLv3 @@ -34,7 +34,7 @@ return; } -!defined('LSCWP_V') && define('LSCWP_V', '6.5.1-b1'); +!defined('LSCWP_V') && define('LSCWP_V', '6.5.1-rc1'); !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 feb7fdd57..e4a8d5e04 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: LiteSpeedTech Tags: caching, optimize, performance, pagespeed, seo, image optimize, object cache, redis, memcached, database cleaner Requires at least: 4.9 Tested up to: 6.6.1 -Stable tag: 6.5.0.2 +Stable tag: 6.5.1 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl.html @@ -256,6 +256,7 @@ You can report security bugs through the Patchstack Vulnerability Disclosure Pro = 6.5.1 - Sep 25 2024 = * **Media** Sanitized dimensions for the images when replacing with placeholders. (TaiYou) +* **Cloud** Silent updates news API error when failed to retrieve. = 6.5.0.2 - Sep 6 2024 = * **Debug** Compatibility improvement for WP installations w/o `AUTH_KEY` defined in `wp-config.php`. diff --git a/src/cloud.cls.php b/src/cloud.cls.php index 7c3e7a9c2..79d392126 100644 --- a/src/cloud.cls.php +++ b/src/cloud.cls.php @@ -711,7 +711,7 @@ private function _parse_response($response, $service, $service_tag, $server) $error_message = $response->get_error_message(); self::debug('failed to request: ' . $error_message); - if ($service !== self::API_VER) { + if ($service !== self::API_VER && $service !== self::API_NEWS) { $msg = __('Failed to request via WordPress', 'litespeed-cache') . ': ' . $error_message . " [server] $server [service] $service"; Admin_Display::error($msg); @@ -734,7 +734,7 @@ private function _parse_response($response, $service, $service_tag, $server) if (!is_array($json)) { self::debug('failed to decode response json: ' . $response['body']); - if ($service !== self::API_VER) { + if ($service !== self::API_VER && $service !== self::API_NEWS) { $msg = __('Failed to request via WordPress', 'litespeed-cache') . ': ' . $response['body'] . " [server] $server [service] $service"; Admin_Display::error($msg); diff --git a/tpl/toolbox/beta_test.tpl.php b/tpl/toolbox/beta_test.tpl.php index f07c8101a..637ff7f7c 100644 --- a/tpl/toolbox/beta_test.tpl.php +++ b/tpl/toolbox/beta_test.tpl.php @@ -6,6 +6,7 @@ // Existing public version list $v_list = array( + '6.5.1', '6.5.0.2', '6.4.1', '6.3.0.1',