Changeset 2751971
- Timestamp:
- 07/05/2022 08:47:32 AM (4 years ago)
- Location:
- powered-cache
- Files:
-
- 8 edited
- 1 copied
-
tags/2.4.3 (copied) (copied from powered-cache/trunk)
-
tags/2.4.3/includes/compat/plugins/wpml.php (modified) (4 diffs)
-
tags/2.4.3/languages/powered-cache.pot (modified) (3 diffs)
-
tags/2.4.3/powered-cache.php (modified) (2 diffs)
-
tags/2.4.3/readme.txt (modified) (2 diffs)
-
trunk/includes/compat/plugins/wpml.php (modified) (4 diffs)
-
trunk/languages/powered-cache.pot (modified) (3 diffs)
-
trunk/powered-cache.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
powered-cache/tags/2.4.3/includes/compat/plugins/wpml.php
r2743455 r2751971 85 85 // 2: domain mapping: example.org 86 86 if ( ! in_array( $negotiation_type, [ 1, 2 ], true ) ) { 87 return; 88 } 89 90 if ( ! method_exists( $sitepress, 'get_active_languages' ) ) { 87 91 return; 88 92 } … … 142 146 } 143 147 148 if ( ! method_exists( $sitepress, 'get_active_languages' ) ) { 149 return; 150 } 151 144 152 $active_languages = $sitepress->get_active_languages(); 145 153 … … 231 239 } 232 240 241 if ( ! method_exists( $GLOBALS['sitepress'], 'language_url' ) ) { 242 return; 243 } 244 233 245 $base_dir = get_page_cache_dir(); 234 246 $language_url = $GLOBALS['sitepress']->language_url( $lang ); … … 271 283 } 272 284 285 if ( ! method_exists( $sitepress, 'get_active_languages' ) ) { 286 return $urls; 287 } 288 273 289 // preload all languages 274 290 foreach ( $sitepress->get_active_languages() as $lang ) { -
powered-cache/tags/2.4.3/languages/powered-cache.pot
r2749491 r2751971 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Powered Cache 2.4. 2\n"5 "Project-Id-Version: Powered Cache 2.4.3\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/powered-cache\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2022-0 6-29T07:34:28+00:00\n"12 "POT-Creation-Date: 2022-07-05T08:44:11+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.6.0\n" … … 1345 1345 msgstr "" 1346 1346 1347 #: includes/compat/plugins/wpml.php:11 41348 #: includes/compat/plugins/wpml.php:1 671347 #: includes/compat/plugins/wpml.php:118 1348 #: includes/compat/plugins/wpml.php:175 1349 1349 msgid "All languages" 1350 1350 msgstr "" -
powered-cache/tags/2.4.3/powered-cache.php
r2749491 r2751971 4 4 * Plugin URI: https://poweredcache.com 5 5 * Description: The most powerful caching and performance suite for WordPress. Easily Improve PageSpeed & Web Vitals Score. 6 * Version: 2.4. 26 * Version: 2.4.3 7 7 * Requires at least: 5.1 8 8 * Requires PHP: 5.6 … … 26 26 27 27 // Useful global constants. 28 define( 'POWERED_CACHE_VERSION', '2.4. 2' );28 define( 'POWERED_CACHE_VERSION', '2.4.3' ); 29 29 define( 'POWERED_CACHE_DB_VERSION', '2.0' ); 30 30 define( 'POWERED_CACHE_PLUGIN_FILE', __FILE__ ); -
powered-cache/tags/2.4.3/readme.txt
r2749491 r2751971 4 4 Requires at least: 5.1 5 5 Tested up to: 6.0 6 Stable tag: 2.4. 26 Stable tag: 2.4.3 7 7 License: GPLv2 (or later) 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 169 169 170 170 == Changelog == 171 172 = 2.4.3 (July 5, 2022) = 173 - Compatibility fix for older versions of WPML. 171 174 172 175 = 2.4.2 (June 29, 2022) = -
powered-cache/trunk/includes/compat/plugins/wpml.php
r2743455 r2751971 85 85 // 2: domain mapping: example.org 86 86 if ( ! in_array( $negotiation_type, [ 1, 2 ], true ) ) { 87 return; 88 } 89 90 if ( ! method_exists( $sitepress, 'get_active_languages' ) ) { 87 91 return; 88 92 } … … 142 146 } 143 147 148 if ( ! method_exists( $sitepress, 'get_active_languages' ) ) { 149 return; 150 } 151 144 152 $active_languages = $sitepress->get_active_languages(); 145 153 … … 231 239 } 232 240 241 if ( ! method_exists( $GLOBALS['sitepress'], 'language_url' ) ) { 242 return; 243 } 244 233 245 $base_dir = get_page_cache_dir(); 234 246 $language_url = $GLOBALS['sitepress']->language_url( $lang ); … … 271 283 } 272 284 285 if ( ! method_exists( $sitepress, 'get_active_languages' ) ) { 286 return $urls; 287 } 288 273 289 // preload all languages 274 290 foreach ( $sitepress->get_active_languages() as $lang ) { -
powered-cache/trunk/languages/powered-cache.pot
r2749491 r2751971 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Powered Cache 2.4. 2\n"5 "Project-Id-Version: Powered Cache 2.4.3\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/powered-cache\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2022-0 6-29T07:34:28+00:00\n"12 "POT-Creation-Date: 2022-07-05T08:44:11+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.6.0\n" … … 1345 1345 msgstr "" 1346 1346 1347 #: includes/compat/plugins/wpml.php:11 41348 #: includes/compat/plugins/wpml.php:1 671347 #: includes/compat/plugins/wpml.php:118 1348 #: includes/compat/plugins/wpml.php:175 1349 1349 msgid "All languages" 1350 1350 msgstr "" -
powered-cache/trunk/powered-cache.php
r2749491 r2751971 4 4 * Plugin URI: https://poweredcache.com 5 5 * Description: The most powerful caching and performance suite for WordPress. Easily Improve PageSpeed & Web Vitals Score. 6 * Version: 2.4. 26 * Version: 2.4.3 7 7 * Requires at least: 5.1 8 8 * Requires PHP: 5.6 … … 26 26 27 27 // Useful global constants. 28 define( 'POWERED_CACHE_VERSION', '2.4. 2' );28 define( 'POWERED_CACHE_VERSION', '2.4.3' ); 29 29 define( 'POWERED_CACHE_DB_VERSION', '2.0' ); 30 30 define( 'POWERED_CACHE_PLUGIN_FILE', __FILE__ ); -
powered-cache/trunk/readme.txt
r2749491 r2751971 4 4 Requires at least: 5.1 5 5 Tested up to: 6.0 6 Stable tag: 2.4. 26 Stable tag: 2.4.3 7 7 License: GPLv2 (or later) 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 169 169 170 170 == Changelog == 171 172 = 2.4.3 (July 5, 2022) = 173 - Compatibility fix for older versions of WPML. 171 174 172 175 = 2.4.2 (June 29, 2022) =
Note: See TracChangeset
for help on using the changeset viewer.