Version Description
= * Lockout notification refactored.
Download this release
Release Info
Developer | wpchefgadget |
Plugin | 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 +19 -12
- limit-login-attempts-reloaded.php +1 -1
- readme.txt +5 -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 |
-
|
882 |
-
|
883 |
-
|
884 |
-
|
885 |
-
|
886 |
-
|
887 |
-
|
888 |
-
|
889 |
-
|
890 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
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.
|
7 |
-
Stable tag: 2.17.
|
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.
|