Plugin Directory

Changeset 2751971


Ignore:
Timestamp:
07/05/2022 08:47:32 AM (4 years ago)
Author:
poweredcache
Message:

Update to version 2.4.3 from GitHub

Location:
powered-cache
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • powered-cache/tags/2.4.3/includes/compat/plugins/wpml.php

    r2743455 r2751971  
    8585            // 2: domain mapping: example.org
    8686            if ( ! in_array( $negotiation_type, [ 1, 2 ], true ) ) {
     87                return;
     88            }
     89
     90            if ( ! method_exists( $sitepress, 'get_active_languages' ) ) {
    8791                return;
    8892            }
     
    142146        }
    143147
     148        if ( ! method_exists( $sitepress, 'get_active_languages' ) ) {
     149            return;
     150        }
     151
    144152        $active_languages = $sitepress->get_active_languages();
    145153
     
    231239        }
    232240
     241        if ( ! method_exists( $GLOBALS['sitepress'], 'language_url' ) ) {
     242            return;
     243        }
     244
    233245        $base_dir        = get_page_cache_dir();
    234246        $language_url    = $GLOBALS['sitepress']->language_url( $lang );
     
    271283        }
    272284
     285        if ( ! method_exists( $sitepress, 'get_active_languages' ) ) {
     286            return $urls;
     287        }
     288
    273289        // preload all languages
    274290        foreach ( $sitepress->get_active_languages() as $lang ) {
  • powered-cache/tags/2.4.3/languages/powered-cache.pot

    r2749491 r2751971  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Powered Cache 2.4.2\n"
     5"Project-Id-Version: Powered Cache 2.4.3\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: 2022-06-29T07:34:28+00:00\n"
     12"POT-Creation-Date: 2022-07-05T08:44:11+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.6.0\n"
     
    13451345msgstr ""
    13461346
    1347 #: includes/compat/plugins/wpml.php:114
    1348 #: includes/compat/plugins/wpml.php:167
     1347#: includes/compat/plugins/wpml.php:118
     1348#: includes/compat/plugins/wpml.php:175
    13491349msgid "All languages"
    13501350msgstr ""
  • powered-cache/tags/2.4.3/powered-cache.php

    r2749491 r2751971  
    44 * Plugin URI:        https://poweredcache.com
    55 * Description:       The most powerful caching and performance suite for WordPress. Easily Improve PageSpeed & Web Vitals Score.
    6  * Version:           2.4.2
     6 * Version:           2.4.3
    77 * Requires at least: 5.1
    88 * Requires PHP:      5.6
     
    2626
    2727// Useful global constants.
    28 define( 'POWERED_CACHE_VERSION', '2.4.2' );
     28define( 'POWERED_CACHE_VERSION', '2.4.3' );
    2929define( 'POWERED_CACHE_DB_VERSION', '2.0' );
    3030define( 'POWERED_CACHE_PLUGIN_FILE', __FILE__ );
  • powered-cache/tags/2.4.3/readme.txt

    r2749491 r2751971  
    44Requires at least:  5.1
    55Tested up to:  6.0
    6 Stable tag:  2.4.2
     6Stable tag:  2.4.3
    77License: GPLv2 (or later)
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    169169
    170170== Changelog ==
     171
     172= 2.4.3 (July 5, 2022) =
     173- Compatibility fix for older versions of WPML.
    171174
    172175= 2.4.2 (June 29, 2022) =
  • powered-cache/trunk/includes/compat/plugins/wpml.php

    r2743455 r2751971  
    8585            // 2: domain mapping: example.org
    8686            if ( ! in_array( $negotiation_type, [ 1, 2 ], true ) ) {
     87                return;
     88            }
     89
     90            if ( ! method_exists( $sitepress, 'get_active_languages' ) ) {
    8791                return;
    8892            }
     
    142146        }
    143147
     148        if ( ! method_exists( $sitepress, 'get_active_languages' ) ) {
     149            return;
     150        }
     151
    144152        $active_languages = $sitepress->get_active_languages();
    145153
     
    231239        }
    232240
     241        if ( ! method_exists( $GLOBALS['sitepress'], 'language_url' ) ) {
     242            return;
     243        }
     244
    233245        $base_dir        = get_page_cache_dir();
    234246        $language_url    = $GLOBALS['sitepress']->language_url( $lang );
     
    271283        }
    272284
     285        if ( ! method_exists( $sitepress, 'get_active_languages' ) ) {
     286            return $urls;
     287        }
     288
    273289        // preload all languages
    274290        foreach ( $sitepress->get_active_languages() as $lang ) {
  • powered-cache/trunk/languages/powered-cache.pot

    r2749491 r2751971  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Powered Cache 2.4.2\n"
     5"Project-Id-Version: Powered Cache 2.4.3\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: 2022-06-29T07:34:28+00:00\n"
     12"POT-Creation-Date: 2022-07-05T08:44:11+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.6.0\n"
     
    13451345msgstr ""
    13461346
    1347 #: includes/compat/plugins/wpml.php:114
    1348 #: includes/compat/plugins/wpml.php:167
     1347#: includes/compat/plugins/wpml.php:118
     1348#: includes/compat/plugins/wpml.php:175
    13491349msgid "All languages"
    13501350msgstr ""
  • powered-cache/trunk/powered-cache.php

    r2749491 r2751971  
    44 * Plugin URI:        https://poweredcache.com
    55 * Description:       The most powerful caching and performance suite for WordPress. Easily Improve PageSpeed & Web Vitals Score.
    6  * Version:           2.4.2
     6 * Version:           2.4.3
    77 * Requires at least: 5.1
    88 * Requires PHP:      5.6
     
    2626
    2727// Useful global constants.
    28 define( 'POWERED_CACHE_VERSION', '2.4.2' );
     28define( 'POWERED_CACHE_VERSION', '2.4.3' );
    2929define( 'POWERED_CACHE_DB_VERSION', '2.0' );
    3030define( 'POWERED_CACHE_PLUGIN_FILE', __FILE__ );
  • powered-cache/trunk/readme.txt

    r2749491 r2751971  
    44Requires at least:  5.1
    55Tested up to:  6.0
    6 Stable tag:  2.4.2
     6Stable tag:  2.4.3
    77License: GPLv2 (or later)
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    169169
    170170== Changelog ==
     171
     172= 2.4.3 (July 5, 2022) =
     173- Compatibility fix for older versions of WPML.
    171174
    172175= 2.4.2 (June 29, 2022) =
Note: See TracChangeset for help on using the changeset viewer.