Skip to content

Commit

Permalink
upgrade bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Hai Zheng committed Dec 12, 2024
1 parent eaf2e44 commit e6eb517
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 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: 7.0-b23
* Version: 7.0-b25
* 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', '7.0-b23');
!defined('LSCWP_V') && define('LSCWP_V', '7.0-b25');

!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
1 change: 1 addition & 0 deletions src/data.cls.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class Data extends Root
'4.3' => array('litespeed_update_4_3'),
'4.4.4-b1' => array('litespeed_update_4_4_4'),
'5.3-a5' => array('litespeed_update_5_3'),
'7.0-b25' => array('litespeed_update_7'),
);

private $_db_site_updater = array(
Expand Down
2 changes: 1 addition & 1 deletion src/data.upgrade.func.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function litespeed_update_7()
$data = array(
'domain_key' => $domain_key,
);
$res = $__cloud->post(self::SVC_D_V3UPGRADE, $data);
$res = $__cloud->post(Cloud::SVC_D_V3UPGRADE, $data);
if (!empty($res['qc_activated'])) {
if ($res['qc_activated'] != 'deleted') {
Cloud::save_summary(array('qc_activated' => $res['qc_activated']));
Expand Down

0 comments on commit e6eb517

Please sign in to comment.