Limit Login Attempts Reloaded - Version 2.17.2

Version Description

= * Lockout notification refactored.

Download this release

Release Info

Developer wpchefgadget
Plugin Icon 128x128 Limit Login Attempts Reloaded
Version 2.17.2
Comparing to
See all releases

Code changes from version 2.17.1 to 2.17.2

core/LimitLoginAttempts.php CHANGED
@@ -878,19 +878,26 @@ class Limit_Login_Attempts {
878
 
879
  $subject = sprintf( __( "[%s] Failed login attempts", 'limit-login-attempts-reloaded' ) , $blogname );
880
 
881
- $message = sprintf( __( "<p>Hello%s,</p>", 'limit-login-attempts-reloaded' ), $admin_name );
882
-
883
- $message .= sprintf( __( "<p>%d failed login attempts (%d lockout(s)) from IP <b>%s</b> and it was blocked for %s<br>" , 'limit-login-attempts-reloaded' ), $count, $lockouts, $ip, $when );
884
-
885
- $message .= sprintf( __( "Last user attempted: <b>%s</b></p>", 'limit-login-attempts-reloaded' ), $user );
886
-
887
- $message .= sprintf( __( '<p>Under Attack? Try our <a href="%s" target="_blank">advanced protection</a>. ' .
888
- 'Have questions? Visit our <a href="%s" target="_blank">help section</a>.</p>', 'limit-login-attempts-reloaded' ),
889
- 'https://www.limitloginattempts.com/features/?from=plugin-lockout-email',
890
- 'https://www.limitloginattempts.com/resources/?from=plugin-lockout-email'
 
 
 
 
 
 
 
 
 
891
  );
892
-
893
- $message .= __( "<hr><p>This notification was sent automatically via <b>Limit Login Attempts Reloaded Plugin</b>.</p>", 'limit-login-attempts-reloaded' );
894
 
895
  @wp_mail( $admin_email, $subject, $message, array( 'content-type: text/html' ) );
896
  }
878
 
879
  $subject = sprintf( __( "[%s] Failed login attempts", 'limit-login-attempts-reloaded' ) , $blogname );
880
 
881
+ $message = __( '<p>Hello%1$s,</p>' .
882
+ '<p>%2$d failed login attempts (%3$d lockout(s)) from IP <b>%4$s</b> and it was blocked for %5$s<br>' .
883
+ 'Last user attempted: <b>%6$s</b></p>' .
884
+ '<p>Under Attack? Learn more about <a href="%7$s">brute force attacks</a>. ' .
885
+ 'Have Questions? Visit our <a href="%8$s" target="_blank">help section</a>.<br>' .
886
+ '<a href="%9$s">Unsubscribe</a> from these notifications.</p>' .
887
+ "<hr><p>This notification was sent automatically via <b>Limit Login Attempts Reloaded Plugin</b>.</p>", 'limit-login-attempts-reloaded' );
888
+
889
+ $message = sprintf(
890
+ $message,
891
+ $admin_name,
892
+ $count,
893
+ $lockouts,
894
+ $ip,
895
+ $when,
896
+ $user,
897
+ 'https://www.limitloginattempts.com/am-i-under-attack/?from=plugin-lockout-email',
898
+ 'https://www.limitloginattempts.com/resources/?from=plugin-lockout-email',
899
+ admin_url( 'options-general.php?page=limit-login-attempts&tab=settings' )
900
  );
 
 
901
 
902
  @wp_mail( $admin_email, $subject, $message, array( 'content-type: text/html' ) );
903
  }
limit-login-attempts-reloaded.php CHANGED
@@ -5,7 +5,7 @@ Description: Limit the rate of login attempts for each IP address.
5
  Author: Limit Login Attempts Reloaded
6
  Author URI: https://limitloginattempts.com/
7
  Text Domain: limit-login-attempts-reloaded
8
- Version: 2.17.1
9
 
10
  Copyright 2008 - 2012 Johan Eenfeldt, 2016 - 2020 Limit Login Attempts Reloaded
11
  */
5
  Author: Limit Login Attempts Reloaded
6
  Author URI: https://limitloginattempts.com/
7
  Text Domain: limit-login-attempts-reloaded
8
+ Version: 2.17.2
9
 
10
  Copyright 2008 - 2012 Johan Eenfeldt, 2016 - 2020 Limit Login Attempts Reloaded
11
  */
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: wpchefgadget
3
  Donate link: https://www.paypal.com/donate?hosted_button_id=FKD4MYFCMNVQQ
4
  Tags: brute force, login, security, GDPR, protection
5
  Requires at least: 3.0
6
- Tested up to: 5.5
7
- Stable tag: 2.17.1
8
 
9
  Reloaded version of the original Limit Login Attempts plugin for Login Protection by a team of WordPress developers. GDPR compliant.
10
 
@@ -90,6 +90,9 @@ Please follow this link: <a href="https://www.limitloginattempts.com/resources/"
90
 
91
  == Changelog ==
92
 
 
 
 
93
  = 2.17.1 ==
94
  * CSS cache issue fixed.
95
  * Notification text updated.
3
  Donate link: https://www.paypal.com/donate?hosted_button_id=FKD4MYFCMNVQQ
4
  Tags: brute force, login, security, GDPR, protection
5
  Requires at least: 3.0
6
+ Tested up to: 5.6
7
+ Stable tag: 2.17.2
8
 
9
  Reloaded version of the original Limit Login Attempts plugin for Login Protection by a team of WordPress developers. GDPR compliant.
10
 
90
 
91
  == Changelog ==
92
 
93
+ = 2.17.2 ==
94
+ * Lockout notification refactored.
95
+
96
  = 2.17.1 ==
97
  * CSS cache issue fixed.
98
  * Notification text updated.