Plugin Directory

Changeset 3157755


Ignore:
Timestamp:
09/25/2024 06:06:38 PM (15 months ago)
Author:
LiteSpeedTech
Message:

Release v6.5.1

Location:
litespeed-cache
Files:
337 added
8 edited

Legend:

Unmodified
Added
Removed
  • litespeed-cache/trunk/litespeed-cache.php

    r3147731 r3157755  
    55 * Plugin URI:        https://www.litespeedtech.com/products/cache-plugins/wordpress-acceleration
    66 * Description:       High-performance page caching and site optimization from LiteSpeed
    7  * Version:           6.5.0.2
     7 * Version:           6.5.1
    88 * Author:            LiteSpeed Technologies
    99 * Author URI:        https://www.litespeedtech.com
     
    3535}
    3636
    37 !defined('LSCWP_V') && define('LSCWP_V', '6.5.0.2');
     37!defined('LSCWP_V') && define('LSCWP_V', '6.5.1');
    3838
    3939!defined('LSCWP_CONTENT_DIR') && define('LSCWP_CONTENT_DIR', WP_CONTENT_DIR);
  • litespeed-cache/trunk/readme.txt

    r3147731 r3157755  
    44Requires at least: 4.9
    55Tested up to: 6.6.1
    6 Stable tag: 6.5.0.2
     6Stable tag: 6.5.1
    77License: GPLv3
    88License URI: http://www.gnu.org/licenses/gpl.html
     
    255255== Changelog ==
    256256
     257= 6.5.1 - Sep 25 2024 =
     258* **Media** Sanitized dimensions for the images when replacing with placeholders. (TaiYou)
     259* **Page Optimize** Sanitized vary value in queue list. (TaiYou)
     260* **Cloud** Silent API error when failing to retrieve news updates.
     261
    257262= 6.5.0.2 - Sep 6 2024 =
    258263* **Debug** Compatibility improvement for WP installations w/o `AUTH_KEY` defined in `wp-config.php`.
  • litespeed-cache/trunk/src/cloud.cls.php

    r3147733 r3157755  
    712712            self::debug('failed to request: ' . $error_message);
    713713
    714             if ($service !== self::API_VER) {
     714            if ($service !== self::API_VER && $service !== self::API_NEWS) {
    715715                $msg = __('Failed to request via WordPress', 'litespeed-cache') . ': ' . $error_message . " [server] $server [service] $service";
    716716                Admin_Display::error($msg);
     
    735735            self::debug('failed to decode response json: ' . $response['body']);
    736736
    737             if ($service !== self::API_VER) {
     737            if ($service !== self::API_VER && $service !== self::API_NEWS) {
    738738                $msg = __('Failed to request via WordPress', 'litespeed-cache') . ': ' . $response['body'] . " [server] $server [service] $service";
    739739                Admin_Display::error($msg);
  • litespeed-cache/trunk/src/media.cls.php

    r3123399 r3157755  
    770770            $placeholder = false;
    771771            if (!empty($attrs['width']) && $attrs['width'] != 'auto' && !empty($attrs['height']) && $attrs['height'] != 'auto') {
    772                 $placeholder = $attrs['width'] . 'x' . $attrs['height'];
     772                $placeholder = intval($attrs['width']) . 'x' . intval($attrs['height']);
    773773            }
    774774
  • litespeed-cache/trunk/src/placeholder.cls.php

    r3123399 r3157755  
    175175        if ($this->_conf_lqip && $this_placeholder != $this->_conf_ph_default) {
    176176            Debug2::debug2('[LQIP] Use resp LQIP [size] ' . $size);
     177            $size = str_replace('"', '', $size);
    177178            $additional_attr = ' data-placeholder-resp="' . $size . '"';
    178179        }
  • litespeed-cache/trunk/tpl/page_optm/settings_css.tpl.php

    r2928795 r3157755  
    119119                                        <?php echo esc_html($v['url']); ?>
    120120                                        <?php if (!empty($v['_status'])) : ?></span><?php endif; ?>
    121                                     <?php if ($pos = strpos($k, ' ')) echo ' (' . __('Vary Group', 'litespeed-cache') . ':' . substr($k, 0, $pos) . ')'; ?>
     121                                    <?php if ($pos = strpos($k, ' ')) echo ' (' . __('Vary Group', 'litespeed-cache') . ':' . esc_html(substr($k, 0, $pos)) . ')'; ?>
    122122                                    <?php if ($v['is_mobile']) echo ' <span data-balloon-pos="up" aria-label="mobile">📱</span>'; ?>
    123123                                    <?php if (!empty($v['is_webp'])) echo ' WebP'; ?>
     
    236236                                        <?php echo esc_html($v['url']); ?>
    237237                                        <?php if (!empty($v['_status'])) : ?></span><?php endif; ?>
    238                                     <?php if ($pos = strpos($k, ' ')) echo ' (' . __('Vary Group', 'litespeed-cache') . ':' . substr($k, 0, $pos) . ')'; ?>
     238                                    <?php if ($pos = strpos($k, ' ')) echo ' (' . __('Vary Group', 'litespeed-cache') . ':' . esc_html(substr($k, 0, $pos)) . ')'; ?>
    239239                                    <?php if ($v['is_mobile']) echo ' <span data-balloon-pos="up" aria-label="mobile">📱</span>'; ?>
    240240                                    <?php if (!empty($v['is_webp'])) echo ' WebP'; ?>
  • litespeed-cache/trunk/tpl/page_optm/settings_vpi.tpl.php

    r2846360 r3157755  
    6565                            <?php echo esc_html( $v[ 'url' ] ); ?>
    6666                            <?php if ( ! empty( $v[ '_status' ] ) ) : ?></span><?php endif; ?>
    67                             <?php if ( $pos = strpos( $k, ' ' ) ) echo ' (' . __( 'Vary Group', 'litespeed-cache' ) . ':' . substr( $k, 0, $pos ) . ')'; ?>
     67                            <?php if ( $pos = strpos( $k, ' ' ) ) echo ' (' . __( 'Vary Group', 'litespeed-cache' ) . ':' . esc_html( substr( $k, 0, $pos ) ) . ')'; ?>
    6868                            <?php if ( $v[ 'is_mobile' ] ) echo ' <span data-balloon-pos="up" aria-label="mobile">📱</span>'; ?>
    6969                            <br />
  • litespeed-cache/trunk/tpl/toolbox/beta_test.tpl.php

    r3147733 r3157755  
    77// Existing public version list
    88$v_list = array(
     9    '6.5.1',
    910    '6.5.0.2',
    1011    '6.4.1',
Note: See TracChangeset for help on using the changeset viewer.