Plugin Directory

Changeset 3311471


Ignore:
Timestamp:
06/14/2025 10:54:29 AM (10 months ago)
Author:
poweredcache
Message:

Update to version 3.6.2 from GitHub

Location:
powered-cache
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • powered-cache/tags/3.6.2/includes/dropins/redis-object-cache.php

    r3302134 r3311471  
    665665        }
    666666
     667        return true;
     668    }
     669
     670    /**
     671     * Removes all cache items in a group.
     672     *
     673     * @param string $group Name of group to remove from cache.
     674     * @return true Always returns true.
     675     */
     676    public function flush_group( $group ) {
     677        if ( ! $this->_should_use_redis_hashes( $group ) ) {
     678            return false;
     679        }
     680
     681        $multisite_safe_group = $this->multisite && ! isset( $this->global_groups[ $group ] ) ? $this->blog_prefix . $group : $group;
     682        $redis_safe_group     = $this->_key( '', $group );
     683        if ( $this->_should_persist( $group ) ) {
     684            $result = $this->_call_redis( 'del', $redis_safe_group );
     685            if ( 1 !== $result ) {
     686                return false;
     687            }
     688        } elseif ( ! $this->_should_persist( $group ) && ! isset( $this->cache[ $multisite_safe_group ] ) ) {
     689            return false;
     690        }
     691        unset( $this->cache[ $multisite_safe_group ] );
    667692        return true;
    668693    }
  • powered-cache/tags/3.6.2/languages/powered-cache.pot

    r3303595 r3311471  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Powered Cache 3.6.1\n"
     5"Project-Id-Version: Powered Cache 3.6.2\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/powered-cache\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-05-30T13:09:55+00:00\n"
     12"POT-Creation-Date: 2025-06-14T10:50:58+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.11.0\n"
  • powered-cache/tags/3.6.2/powered-cache.php

    r3303595 r3311471  
    44 * Plugin URI:        https://poweredcache.com
    55 * Description:       Powered Cache is the most powerful caching and performance suite for WordPress, designed to easily improve your PageSpeed and Web Vitals Score.
    6  * Version:           3.6.1
     6 * Version:           3.6.2
    77 * Requires at least: 5.7
    88 * Requires PHP:      7.4
     
    2626
    2727// Useful global constants.
    28 define( 'POWERED_CACHE_VERSION', '3.6.1' );
     28define( 'POWERED_CACHE_VERSION', '3.6.2' );
    2929define( 'POWERED_CACHE_DB_VERSION', '3.4' );
    3030define( 'POWERED_CACHE_PLUGIN_FILE', __FILE__ );
  • powered-cache/tags/3.6.2/readme.txt

    r3303595 r3311471  
    44Requires at least:  5.7
    55Tested up to:  6.8
    6 Stable tag:  3.6.1
     6Stable tag:  3.6.2
    77License: GPLv2 (or later)
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    171171
    172172== Changelog ==
     173
     174= 3.6.2 (June 14, 2025) =
     175- [Fixed] Redis flush_group call. [#156](https://github.com/poweredcache/powered-cache/issues/156)
    173176
    174177= 3.6.1 (May 30, 2025) =
  • powered-cache/trunk/includes/dropins/redis-object-cache.php

    r3302134 r3311471  
    665665        }
    666666
     667        return true;
     668    }
     669
     670    /**
     671     * Removes all cache items in a group.
     672     *
     673     * @param string $group Name of group to remove from cache.
     674     * @return true Always returns true.
     675     */
     676    public function flush_group( $group ) {
     677        if ( ! $this->_should_use_redis_hashes( $group ) ) {
     678            return false;
     679        }
     680
     681        $multisite_safe_group = $this->multisite && ! isset( $this->global_groups[ $group ] ) ? $this->blog_prefix . $group : $group;
     682        $redis_safe_group     = $this->_key( '', $group );
     683        if ( $this->_should_persist( $group ) ) {
     684            $result = $this->_call_redis( 'del', $redis_safe_group );
     685            if ( 1 !== $result ) {
     686                return false;
     687            }
     688        } elseif ( ! $this->_should_persist( $group ) && ! isset( $this->cache[ $multisite_safe_group ] ) ) {
     689            return false;
     690        }
     691        unset( $this->cache[ $multisite_safe_group ] );
    667692        return true;
    668693    }
  • powered-cache/trunk/languages/powered-cache.pot

    r3303595 r3311471  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Powered Cache 3.6.1\n"
     5"Project-Id-Version: Powered Cache 3.6.2\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/powered-cache\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-05-30T13:09:55+00:00\n"
     12"POT-Creation-Date: 2025-06-14T10:50:58+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.11.0\n"
  • powered-cache/trunk/powered-cache.php

    r3303595 r3311471  
    44 * Plugin URI:        https://poweredcache.com
    55 * Description:       Powered Cache is the most powerful caching and performance suite for WordPress, designed to easily improve your PageSpeed and Web Vitals Score.
    6  * Version:           3.6.1
     6 * Version:           3.6.2
    77 * Requires at least: 5.7
    88 * Requires PHP:      7.4
     
    2626
    2727// Useful global constants.
    28 define( 'POWERED_CACHE_VERSION', '3.6.1' );
     28define( 'POWERED_CACHE_VERSION', '3.6.2' );
    2929define( 'POWERED_CACHE_DB_VERSION', '3.4' );
    3030define( 'POWERED_CACHE_PLUGIN_FILE', __FILE__ );
  • powered-cache/trunk/readme.txt

    r3303595 r3311471  
    44Requires at least:  5.7
    55Tested up to:  6.8
    6 Stable tag:  3.6.1
     6Stable tag:  3.6.2
    77License: GPLv2 (or later)
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    171171
    172172== Changelog ==
     173
     174= 3.6.2 (June 14, 2025) =
     175- [Fixed] Redis flush_group call. [#156](https://github.com/poweredcache/powered-cache/issues/156)
    173176
    174177= 3.6.1 (May 30, 2025) =
Note: See TracChangeset for help on using the changeset viewer.