SiteGround Security - Version 1.3.5

Version Description

Download this release

Release Info

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

Code changes from version 1.3.4 to 1.3.5

core/Activity_Log/Activity_Log.php CHANGED
@@ -175,7 +175,7 @@ class Activity_Log {
175
  }
176
 
177
  // Get the activity log lifetime.
178
- $log_lifetime = $this->get_activity_log_lifetime();
179
 
180
  $wpdb->query(
181
  $wpdb->prepare(
@@ -221,7 +221,7 @@ class Activity_Log {
221
  *
222
  * @return int $log_lifetime How many days the log is preserved, 12 by default.
223
  */
224
- public function get_activity_log_lifetime() {
225
  // Set custom log lifetime interval in days. The intval covers the cases for string, array and sql injections.
226
  $log_lifetime = intval( apply_filters( 'sgs_set_activity_log_lifetime', get_option( 'sgs_activity_log_lifetime', 12 ) ) );
227
 
175
  }
176
 
177
  // Get the activity log lifetime.
178
+ $log_lifetime = self::get_activity_log_lifetime();
179
 
180
  $wpdb->query(
181
  $wpdb->prepare(
221
  *
222
  * @return int $log_lifetime How many days the log is preserved, 12 by default.
223
  */
224
+ public static function get_activity_log_lifetime() {
225
  // Set custom log lifetime interval in days. The intval covers the cases for string, array and sql injections.
226
  $log_lifetime = intval( apply_filters( 'sgs_set_activity_log_lifetime', get_option( 'sgs_activity_log_lifetime', 12 ) ) );
227
 
core/Custom_Login_Url/Custom_Login_Url.php CHANGED
@@ -170,6 +170,10 @@ class Custom_Login_Url {
170
  return;
171
  }
172
 
 
 
 
 
173
  if ( 'postpass' === $action ) {
174
  return;
175
  }
170
  return;
171
  }
172
 
173
+ if ( 'resetpass' === $action ) {
174
+ return;
175
+ }
176
+
177
  if ( 'postpass' === $action ) {
178
  return;
179
  }
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: Hristo Sg, siteground, sstoqnov, stoyangeorgiev, elenachavdarova, ignatggeorgiev
3
  Tags: security, firewall, malware scanner, web application firewall, two factor authentication, block hackers, country blocking, clean hacked site, blocklist, waf, login security
4
  Requires at least: 4.7
5
- Tested up to: 6.0
6
  Requires PHP: 7.0
7
  Stable tag: trunk
8
  License: GPLv3
@@ -216,6 +216,12 @@ 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.4 =
220
  Release Date: Oct 10th, 2022
221
 
2
  Contributors: Hristo Sg, siteground, sstoqnov, stoyangeorgiev, elenachavdarova, ignatggeorgiev
3
  Tags: security, firewall, malware scanner, web application firewall, two factor authentication, block hackers, country blocking, clean hacked site, blocklist, waf, login security
4
  Requires at least: 4.7
5
+ Tested up to: 6.1
6
  Requires PHP: 7.0
7
  Stable tag: trunk
8
  License: GPLv3
216
 
217
  == Changelog ==
218
 
219
+ = Version 1.3.5 =
220
+ Release Date: Oct 18th, 2022
221
+
222
+ * Improved Custom Login URL
223
+ * Improved Activity log
224
+
225
  = Version 1.3.4 =
226
  Release Date: Oct 10th, 2022
227
 
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.4
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.4' );
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.5
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.5' );
35
  }
36
 
37
  // Define slug constant.
vendor/composer/installed.php CHANGED
@@ -5,7 +5,7 @@
5
  'type' => 'wordpress-plugin',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
- 'reference' => 'ed01841966a681b9fb2a1319d6c8ade604fc561d',
9
  'name' => 'siteground/sg-security',
10
  'dev' => true,
11
  ),
@@ -86,7 +86,7 @@
86
  'type' => 'wordpress-plugin',
87
  'install_path' => __DIR__ . '/../../',
88
  'aliases' => array(),
89
- 'reference' => 'ed01841966a681b9fb2a1319d6c8ade604fc561d',
90
  'dev_requirement' => false,
91
  ),
92
  'siteground/siteground-data' => array(
5
  'type' => 'wordpress-plugin',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
+ 'reference' => '06410cfb9aa327d223bb31818bf1c305fbd43809',
9
  'name' => 'siteground/sg-security',
10
  'dev' => true,
11
  ),
86
  'type' => 'wordpress-plugin',
87
  'install_path' => __DIR__ . '/../../',
88
  'aliases' => array(),
89
+ 'reference' => '06410cfb9aa327d223bb31818bf1c305fbd43809',
90
  'dev_requirement' => false,
91
  ),
92
  'siteground/siteground-data' => array(