Version Description
- Bug Fix: Fix PHP warning when updating plugins & themes on WP 5.3+
Download this release
Release Info
Developer | layotte |
Plugin | iThemes Sync |
Version | 2.1.2 |
Comparing to | |
See all releases |
Code changes from version 2.1.1 to 2.1.2
- history.txt +3 -1
- init.php +10 -1
- lang/ithemes-sync.pot +6 -2
- readme.txt +6 -2
- upgrader-skin.php +3 -1
history.txt
CHANGED
@@ -221,4 +221,6 @@
|
|
221 |
Enhancement: Update server URL for sync API
|
222 |
Enhancement: Updated Readme FAQs
|
223 |
2.1.1 - 2020-01-10 - Josh Oakes
|
224 |
-
Bug Fix: Remove use of function that was deprecated in PHP 7.4
|
|
|
|
221 |
Enhancement: Update server URL for sync API
|
222 |
Enhancement: Updated Readme FAQs
|
223 |
2.1.1 - 2020-01-10 - Josh Oakes
|
224 |
+
Bug Fix: Remove use of function that was deprecated in PHP 7.4
|
225 |
+
2.1.2 - 2020-02-10 - Josh Oakes
|
226 |
+
Bug Fix: Fix PHP warning when updating plugins & themes on WP 5.3+
|
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.
|
8 |
Author URI: http://ithemes.com/
|
9 |
Domain Path: /lang/
|
10 |
iThemes Package: ithemes-sync
|
@@ -26,6 +26,15 @@ if ( ! empty( $GLOBALS['ithemes_sync_path'] ) ) {
|
|
26 |
return;
|
27 |
}
|
28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
$GLOBALS['ithemes_sync_path'] = dirname( __FILE__ );
|
30 |
|
31 |
require( $GLOBALS['ithemes_sync_path'] . '/load.php' );
|
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.2
|
8 |
Author URI: http://ithemes.com/
|
9 |
Domain Path: /lang/
|
10 |
iThemes Package: ithemes-sync
|
26 |
return;
|
27 |
}
|
28 |
|
29 |
+
// Show warning PHP versions < 5.6
|
30 |
+
if ( PHP_VERSION_ID < 50600 ) {
|
31 |
+
add_action( 'admin_notices', function () {
|
32 |
+
echo '<div class="notice notice-error"><p>';
|
33 |
+
echo __( 'iThemes Sync requires PHP 5.6 or greater. Please update you PHP version to ensure all features work properly.', 'it-l10n-ithemes-sync' );
|
34 |
+
echo '</p></div>';
|
35 |
+
}, 0 );
|
36 |
+
}
|
37 |
+
|
38 |
$GLOBALS['ithemes_sync_path'] = dirname( __FILE__ );
|
39 |
|
40 |
require( $GLOBALS['ithemes_sync_path'] . '/load.php' );
|
lang/ithemes-sync.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
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.
|
6 |
"Report-Msgid-Bugs-To: http://ithemes.com/support/\n"
|
7 |
-
"POT-Creation-Date: 2020-
|
8 |
"PO-Revision-Date: 2020-MO-DA HO:MI+ZONE\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -66,6 +66,10 @@ msgstr ""
|
|
66 |
msgid "Only one iThemes Sync plugin can be active at a time. The plugin at <code>%1$s</code> is running while the plugin at <code>%2$s</code> was skipped in order to prevent errors. Please deactivate the plugin that you do not wish to use."
|
67 |
msgstr ""
|
68 |
|
|
|
|
|
|
|
|
|
69 |
#: lib/updater/admin.php:177
|
70 |
msgid "To receive automatic updates for %l, use the <a href=\"%s\">iThemes Licensing</a> page found in the Settings menu."
|
71 |
msgstr ""
|
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.2\n"
|
6 |
"Report-Msgid-Bugs-To: http://ithemes.com/support/\n"
|
7 |
+
"POT-Creation-Date: 2020-02-12 18:00:57+00:00\n"
|
8 |
"PO-Revision-Date: 2020-MO-DA HO:MI+ZONE\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
66 |
msgid "Only one iThemes Sync plugin can be active at a time. The plugin at <code>%1$s</code> is running while the plugin at <code>%2$s</code> was skipped in order to prevent errors. Please deactivate the plugin that you do not wish to use."
|
67 |
msgstr ""
|
68 |
|
69 |
+
#: init.php:33
|
70 |
+
msgid "iThemes Sync requires PHP 5.6 or greater. Please update you PHP version to ensure all features work properly."
|
71 |
+
msgstr ""
|
72 |
+
|
73 |
#: lib/updater/admin.php:177
|
74 |
msgid "To receive automatic updates for %l, use the <a href=\"%s\">iThemes Licensing</a> page found in the Settings menu."
|
75 |
msgstr ""
|
readme.txt
CHANGED
@@ -2,8 +2,9 @@
|
|
2 |
Contributors: ithemes, layotte
|
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 |
-
|
6 |
-
|
|
|
7 |
License: GPLv3 or later
|
8 |
License URI: http://www.gnu.org/licenses/quick-guide-gplv3.html
|
9 |
|
@@ -86,6 +87,9 @@ Make steady, reliable income for WordPress maintenance with iThemes Sync Pro’s
|
|
86 |
|
87 |
== Changelog ==
|
88 |
|
|
|
|
|
|
|
89 |
= 2.1.1 =
|
90 |
* Bug Fix: Remove use of function that was deprecated in PHP 7.4
|
91 |
|
2 |
Contributors: ithemes, layotte
|
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.4
|
7 |
+
Stable tag: 2.1.2
|
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.2 =
|
91 |
+
* Bug Fix: Fix PHP warning when updating plugins & themes on WP 5.3+
|
92 |
+
|
93 |
= 2.1.1 =
|
94 |
* Bug Fix: Remove use of function that was deprecated in PHP 7.4
|
95 |
|
upgrader-skin.php
CHANGED
@@ -8,6 +8,8 @@ Version 1.0.0
|
|
8 |
Version History
|
9 |
1.0.0 - 2013-11-05 - Chris Jean
|
10 |
Initial version
|
|
|
|
|
11 |
*/
|
12 |
|
13 |
|
@@ -19,5 +21,5 @@ class Ithemes_Sync_Upgrader_Skin extends Bulk_Upgrader_Skin {
|
|
19 |
function before( $title = '' ) {}
|
20 |
function after( $title = '' ) {}
|
21 |
function error( $errors ) {}
|
22 |
-
function feedback( $string ) {}
|
23 |
}
|
8 |
Version History
|
9 |
1.0.0 - 2013-11-05 - Chris Jean
|
10 |
Initial version
|
11 |
+
2.1.2 - 2020-02-10 - Josh Oakes
|
12 |
+
Add support for second argument in feedback method
|
13 |
*/
|
14 |
|
15 |
|
21 |
function before( $title = '' ) {}
|
22 |
function after( $title = '' ) {}
|
23 |
function error( $errors ) {}
|
24 |
+
function feedback( $string, ...$args ) {}
|
25 |
}
|