SiteGround Security - Version 1.3.4

Version Description

Download this release

Release Info

Developer elenachavdarova
Plugin Icon 128x128 SiteGround Security
Version 1.3.4
Comparing to
See all releases

Code changes from version 1.3.3 to 1.3.4

core/Install_Service/Install_1_1_0.php CHANGED
@@ -34,7 +34,7 @@ class Install_1_1_0 extends Install {
34
  $sg_2fa = new Sg_2fa();
35
 
36
  $users = get_users( array(
37
- 'role__in' => $sg_2fa->get_2fa_user_roles(),
38
  'fields' => array( 'ID' ),
39
  'meta_query' => array(
40
  array(
34
  $sg_2fa = new Sg_2fa();
35
 
36
  $users = get_users( array(
37
+ 'role__in' => $sg_2fa->get_admin_user_roles(),
38
  'fields' => array( 'ID' ),
39
  'meta_query' => array(
40
  array(
core/Install_Service/Install_1_1_1.php CHANGED
@@ -34,7 +34,7 @@ class Install_1_1_1 extends Install {
34
  }
35
 
36
  $users = get_users( array(
37
- 'role__in' => $sg_2fa->get_2fa_user_roles(),
38
  'fields' => array( 'ID' ),
39
  'meta_query' => array(
40
  array(
34
  }
35
 
36
  $users = get_users( array(
37
+ 'role__in' => $sg_2fa->get_admin_user_roles(),
38
  'fields' => array( 'ID' ),
39
  'meta_query' => array(
40
  array(
core/Install_Service/Install_1_3_2.php CHANGED
@@ -49,7 +49,7 @@ class Install_1_3_2 extends Install {
49
  // Get all users with 2FA configured in order to hash the backup codes.
50
  $users_2fa_configured = get_users(
51
  array(
52
- 'role__in' => $this->sg_2fa->get_2fa_user_roles(),
53
  'fields' => array( 'ID' ),
54
  'meta_query' => array(
55
  array(
49
  // Get all users with 2FA configured in order to hash the backup codes.
50
  $users_2fa_configured = get_users(
51
  array(
52
+ 'role__in' => $this->sg_2fa->get_admin_user_roles(),
53
  'fields' => array( 'ID' ),
54
  'meta_query' => array(
55
  array(
readme.txt CHANGED
@@ -216,6 +216,11 @@ In version 1.0.2 we've added full WP-CLI support for all plugin options and func
216
 
217
  == Changelog ==
218
 
 
 
 
 
 
219
  = Version 1.3.3 =
220
  Release Date: Oct 10th, 2022
221
 
216
 
217
  == Changelog ==
218
 
219
+ = Version 1.3.4 =
220
+ Release Date: Oct 10th, 2022
221
+
222
+ * Install service fix
223
+
224
  = Version 1.3.3 =
225
  Release Date: Oct 10th, 2022
226
 
sg-security.php CHANGED
@@ -10,7 +10,7 @@
10
  * Plugin Name: SiteGround Security
11
  * Plugin URI: https://siteground.com
12
  * Description: SiteGround Security is the all-in-one security solution for your WordPress website. Protect login & limit login attempts. User activity log. Lock system folders & more.
13
- * Version: 1.3.3
14
  * Author: SiteGround
15
  * Author URI: https://www.siteground.com
16
  * Text Domain: sg-security
@@ -31,7 +31,7 @@ if ( ! defined( 'WPINC' ) ) {
31
 
32
  // Define version constant.
33
  if ( ! defined( __NAMESPACE__ . '\VERSION' ) ) {
34
- define( __NAMESPACE__ . '\VERSION', '1.3.3' );
35
  }
36
 
37
  // Define slug constant.
10
  * Plugin Name: SiteGround Security
11
  * Plugin URI: https://siteground.com
12
  * Description: SiteGround Security is the all-in-one security solution for your WordPress website. Protect login & limit login attempts. User activity log. Lock system folders & more.
13
+ * Version: 1.3.4
14
  * Author: SiteGround
15
  * Author URI: https://www.siteground.com
16
  * Text Domain: sg-security
31
 
32
  // Define version constant.
33
  if ( ! defined( __NAMESPACE__ . '\VERSION' ) ) {
34
+ define( __NAMESPACE__ . '\VERSION', '1.3.4' );
35
  }
36
 
37
  // Define slug constant.