iThemes Sync - Version 2.1.10

Version Description

  • Bug Fix: Fix compatibility issue with fallback UTF-8 encoder on PHP 7.4+
Download this release

Release Info

Developer oakesjosh
Plugin Icon 128x128 iThemes Sync
Version 2.1.10
Comparing to
See all releases

Code changes from version 2.1.9 to 2.1.10

class-ithemes-sync-utf8-encoder.php CHANGED
@@ -189,11 +189,11 @@ class Ithemes_Sync_UTF8_Encoder {
189
 
190
  $buf = "";
191
  for($i = 0; $i < $max; $i++){
192
- $c1 = $text{$i};
193
  if($c1>="\xc0"){ //Should be converted to UTF8, if it's not UTF8 already
194
- $c2 = $i+1 >= $max? "\x00" : $text{$i+1};
195
- $c3 = $i+2 >= $max? "\x00" : $text{$i+2};
196
- $c4 = $i+3 >= $max? "\x00" : $text{$i+3};
197
  if($c1 >= "\xc0" & $c1 <= "\xdf"){ //looks like 2 bytes UTF8
198
  if($c2 >= "\x80" && $c2 <= "\xbf"){ //yeah, almost sure it's UTF8 already
199
  $buf .= $c1 . $c2;
189
 
190
  $buf = "";
191
  for($i = 0; $i < $max; $i++){
192
+ $c1 = $text[$i];
193
  if($c1>="\xc0"){ //Should be converted to UTF8, if it's not UTF8 already
194
+ $c2 = $i+1 >= $max? "\x00" : $text[$i+1];
195
+ $c3 = $i+2 >= $max? "\x00" : $text[$i+2];
196
+ $c4 = $i+3 >= $max? "\x00" : $text[$i+3];
197
  if($c1 >= "\xc0" & $c1 <= "\xdf"){ //looks like 2 bytes UTF8
198
  if($c2 >= "\x80" && $c2 <= "\xbf"){ //yeah, almost sure it's UTF8 already
199
  $buf .= $c1 . $c2;
history.txt CHANGED
@@ -242,4 +242,6 @@
242
  2.1.8 - 2020-12-02 - Josh Oakes
243
  Bug Fix: Improved support for plugins using their own updater
244
  2.1.9 - 2021-08-17 - Josh Oakes
245
- Enhancement: PHP 8 compatibility
 
 
242
  2.1.8 - 2020-12-02 - Josh Oakes
243
  Bug Fix: Improved support for plugins using their own updater
244
  2.1.9 - 2021-08-17 - Josh Oakes
245
+ Enhancement: PHP 8 compatibility
246
+ 2.1.10 - 2022-03-23 - Josh Oakes
247
+ Bug Fix: Fix compatibility issue with fallback UTF-8 encoder on PHP 7.4+
init.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: iThemes Sync
4
  Plugin URI: http://ithemes.com/sync
5
  Description: Manage updates to your WordPress sites easily in one place.
6
  Author: iThemes
7
- Version: 2.1.9
8
  Author URI: http://ithemes.com/
9
  Domain Path: /lang/
10
  iThemes Package: ithemes-sync
4
  Plugin URI: http://ithemes.com/sync
5
  Description: Manage updates to your WordPress sites easily in one place.
6
  Author: iThemes
7
+ Version: 2.1.10
8
  Author URI: http://ithemes.com/
9
  Domain Path: /lang/
10
  iThemes Package: ithemes-sync
lang/ithemes-sync.pot CHANGED
@@ -1,11 +1,11 @@
1
- # Copyright (C) 2021 iThemes Sync
2
  # This file is distributed under the same license as the iThemes Sync package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: iThemes Sync 2.1.9\n"
6
  "Report-Msgid-Bugs-To: http://ithemes.com/support/\n"
7
- "POT-Creation-Date: 2021-08-17 18:11:56+00:00\n"
8
- "PO-Revision-Date: 2021-MO-DA HO:MI+ZONE\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
1
+ # Copyright (C) 2022 iThemes Sync
2
  # This file is distributed under the same license as the iThemes Sync package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: iThemes Sync 2.1.10\n"
6
  "Report-Msgid-Bugs-To: http://ithemes.com/support/\n"
7
+ "POT-Creation-Date: 2022-03-24 17:51:59+00:00\n"
8
+ "PO-Revision-Date: 2022-MO-DA HO:MI+ZONE\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: ithemes, layotte, oakesjosh
3
  Tags: manage multiple Sites, backup, security, migrate, SEO, manage updates, administration, update manager, reports, sync, google analytics, optimize, uptime, ithemes, customize dashboard, client sites, maintenance, management, google webmaster tools, reporting
4
  Requires at least: 4.5
5
  Requires PHP: 5.6
6
- Tested up to: 5.9
7
- Stable tag: 2.1.9
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/quick-guide-gplv3.html
10
 
@@ -87,6 +87,9 @@ Make steady, reliable income for WordPress maintenance with iThemes Sync Pro’s
87
 
88
  == Changelog ==
89
 
 
 
 
90
  = 2.1.9 =
91
  * Enhancement: PHP 8 compatibility
92
 
3
  Tags: manage multiple Sites, backup, security, migrate, SEO, manage updates, administration, update manager, reports, sync, google analytics, optimize, uptime, ithemes, customize dashboard, client sites, maintenance, management, google webmaster tools, reporting
4
  Requires at least: 4.5
5
  Requires PHP: 5.6
6
+ Tested up to: 6.0.2
7
+ Stable tag: 2.1.10
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/quick-guide-gplv3.html
10
 
87
 
88
  == Changelog ==
89
 
90
+ = 2.1.10 =
91
+ * Bug Fix: Fix compatibility issue with fallback UTF-8 encoder on PHP 7.4+
92
+
93
  = 2.1.9 =
94
  * Enhancement: PHP 8 compatibility
95