iThemes Sync - Version 2.0.16

Version Description

  • Enhancement: 2FA Authorization from Sync Dashbaord
Download this release

Release Info

Developer layotte
Plugin Icon 128x128 iThemes Sync
Version 2.0.16
Comparing to
See all releases

Code changes from version 2.0.15 to 2.0.16

history.txt CHANGED
@@ -211,3 +211,5 @@
211
  Bug Fix: PHP7.1/7.2's implemention of serialize precision causes
212
  json_encode to float version numbers like 5.1 as 5.0999999999996, which
213
  disrupts our hashing algorithm.
 
 
211
  Bug Fix: PHP7.1/7.2's implemention of serialize precision causes
212
  json_encode to float version numbers like 5.1 as 5.0999999999996, which
213
  disrupts our hashing algorithm.
214
+ 2.0.16 - 2019-08-13 - Lew Ayotte
215
+ Enhancement: 2FA Authorization from Sync Dashbaord
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.0.15
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.0.16
8
  Author URI: http://ithemes.com/
9
  Domain Path: /lang/
10
  iThemes Package: ithemes-sync
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.0.15\n"
6
  "Report-Msgid-Bugs-To: http://ithemes.com/support/\n"
7
- "POT-Creation-Date: 2019-02-25 15:38:37+00:00\n"
8
  "PO-Revision-Date: 2019-MO-DA HO:MI+ZONE\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -35,7 +35,7 @@ msgstr ""
35
  msgid "iThemes Sync is now hidden from your user again."
36
  msgstr ""
37
 
38
- #. #-#-#-#-# ithemes-sync.pot (iThemes Sync 2.0.15) #-#-#-#-#
39
  #. Plugin Name of the plugin/theme
40
  #: admin.php:179 admin.php:185 settings-page.php:268
41
  msgid "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.0.16\n"
6
  "Report-Msgid-Bugs-To: http://ithemes.com/support/\n"
7
+ "POT-Creation-Date: 2019-08-13 13:11:13+00:00\n"
8
  "PO-Revision-Date: 2019-MO-DA HO:MI+ZONE\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
35
  msgid "iThemes Sync is now hidden from your user again."
36
  msgstr ""
37
 
38
+ #. #-#-#-#-# ithemes-sync.pot (iThemes Sync 2.0.16) #-#-#-#-#
39
  #. Plugin Name of the plugin/theme
40
  #: admin.php:179 admin.php:185 settings-page.php:268
41
  msgid "iThemes Sync"
lib/updater/images/icon-licensed.png ADDED
Binary file
lib/updater/images/icon-settings.png ADDED
Binary file
lib/updater/images/icon-unlicensed.png ADDED
Binary file
lib/updater/images/icon-unrecognized.png ADDED
Binary file
lib/updater/images/logo-ithemes.png ADDED
Binary file
notices.php CHANGED
@@ -26,6 +26,7 @@ class Ithemes_Sync_Notices {
26
 
27
  /* iThemes Security */
28
  add_action( 'itsec_log_add', array( $this, 'itsec_log_add' ), 10, 3 );
 
29
  }
30
  }
31
 
@@ -52,6 +53,14 @@ class Ithemes_Sync_Notices {
52
  }
53
  }
54
 
 
 
 
 
 
 
 
 
55
  function core_updated_successfully( $wp_version ) {
56
  $data['slug'] = 'wordpress_core_updated';
57
  $data['version'] = $wp_version;
26
 
27
  /* iThemes Security */
28
  add_action( 'itsec_log_add', array( $this, 'itsec_log_add' ), 10, 3 );
29
+ add_action( 'itsec_two_factor_interstitial_pre_render', array( $this, 'itsec_two_factor_interstitial_pre_render' ), 10, 2 );
30
  }
31
  }
32
 
53
  }
54
  }
55
 
56
+ function itsec_two_factor_interstitial_pre_render( $session, $provider ) {
57
+ $user = $session->get_user();
58
+ $session_id = $session->get_id();
59
+ if ( $user && $session_id ) {
60
+ ithemes_sync_send_urgent_notice( 'ithemes-security', '2fa', 'iThemes Security', 'iThemes Security', array( 'user_id' => $user->ID, 'session_id' => $session_id ) );
61
+ }
62
+ }
63
+
64
  function core_updated_successfully( $wp_version ) {
65
  $data['slug'] = 'wordpress_core_updated';
66
  $data['version'] = $wp_version;
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: ithemes, layotte, blepoxp
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
  Tested up to: 4.10
6
- Stable tag: 2.0.15
7
  License: GPLv3 or later
8
  License URI: http://www.gnu.org/licenses/quick-guide-gplv3.html
9
 
@@ -86,6 +86,9 @@ Make steady, reliable income for WordPress maintenance with iThemes Sync Pro’s
86
 
87
  == Changelog ==
88
 
 
 
 
89
  = 2.0.15 =
90
  * Bug Fix: PHP7.1/7.2's implemention of serialize precision causes json_encode to float version numbers like 5.1 as 5.0999999999996, which disrupts our hashing algorithm.
91
 
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
  Tested up to: 4.10
6
+ Stable tag: 2.0.16
7
  License: GPLv3 or later
8
  License URI: http://www.gnu.org/licenses/quick-guide-gplv3.html
9
 
86
 
87
  == Changelog ==
88
 
89
+ = 2.0.16 =
90
+ * Enhancement: 2FA Authorization from Sync Dashbaord
91
+
92
  = 2.0.15 =
93
  * Bug Fix: PHP7.1/7.2's implemention of serialize precision causes json_encode to float version numbers like 5.1 as 5.0999999999996, which disrupts our hashing algorithm.
94