Skip to content

Commit

Permalink
v6.5.1-rc1: * **Cloud** Silent updates news API error when failed to …
Browse files Browse the repository at this point in the history
…retrieve.
  • Loading branch information
Hai Zheng committed Sep 18, 2024
1 parent bc42385 commit 519b539
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions litespeed-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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`.
Expand Down
4 changes: 2 additions & 2 deletions src/cloud.cls.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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);

Expand Down
1 change: 1 addition & 0 deletions tpl/toolbox/beta_test.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 519b539

Please sign in to comment.