Limit Login Attempts Reloaded - Version 2.6.3

Version Description

Added support of Sucuri Website Firewall.

Download this release

Release Info

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

Code changes from version 2.6.2 to 2.6.3

core/LimitLoginAttempts.php CHANGED
@@ -1001,13 +1001,17 @@ class Limit_Login_Attempts
1001
  */
1002
  public function get_address( $type_name = '' ) {
1003
 
1004
- if ( isset( $_SERVER['HTTP_X_FORWARDED_FOR'] ) && ! empty( $_SERVER['HTTP_X_FORWARDED_FOR'] ) ) {
1005
  return $_SERVER['HTTP_X_FORWARDED_FOR'];
1006
- } elseif ( isset( $_SERVER['REMOTE_ADDR'] ) ) {
 
 
 
 
1007
  return $_SERVER['REMOTE_ADDR'];
1008
- } else {
 
1009
  return '';
1010
- }
1011
  }
1012
 
1013
  /**
1001
  */
1002
  public function get_address( $type_name = '' ) {
1003
 
1004
+ if ( !empty( $_SERVER['HTTP_X_FORWARDED_FOR'] ) )
1005
  return $_SERVER['HTTP_X_FORWARDED_FOR'];
1006
+
1007
+ elseif ( !empty( $_SERVER['HTTP_X_SUCURI_CLIENTIP'] ) )
1008
+ return $_SERVER['HTTP_X_SUCURI_CLIENTIP'];
1009
+
1010
+ elseif ( isset( $_SERVER['REMOTE_ADDR'] ) )
1011
  return $_SERVER['REMOTE_ADDR'];
1012
+
1013
+ else
1014
  return '';
 
1015
  }
1016
 
1017
  /**
limit-login-attempts-reloaded.php CHANGED
@@ -4,7 +4,7 @@
4
  Description: Limit the rate of login attempts, including by way of cookies and for each IP address.
5
  Author: wpchefgadget
6
  Text Domain: limit-login-attempts-reloaded
7
- Version: 2.6.2
8
 
9
  Copyright 2008 - 2012 Johan Eenfeldt, 2016 - 2017 WPChef
10
 
4
  Description: Limit the rate of login attempts, including by way of cookies and for each IP address.
5
  Author: wpchefgadget
6
  Text Domain: limit-login-attempts-reloaded
7
+ Version: 2.6.3
8
 
9
  Copyright 2008 - 2012 Johan Eenfeldt, 2016 - 2017 WPChef
10
 
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: wpchefgadget
3
  Tags: login, security, authentication, Limit Login Attempts, Limit Login Attempts Reloaded, Limit Login Attempts Revamped, Limit Login Attempts Renovated, Limit Login Attempts Updated, Better Limit Login Attempts, Limit Login Attempts Renewed, Limit Login Attempts Upgraded
4
  Requires at least: 3.0
5
- Tested up to: 4.9
6
- Stable tag: 2.6.2
7
 
8
  Reloaded version of the original Limit Login Attempts plugin for Login Protection by a team of WordPress developers.
9
 
@@ -21,6 +21,7 @@ Features:
21
  * Optional logging and optional email notification.
22
  * Handles server behind the reverse proxy.
23
  * It is possible to whitelist/blacklist IPs and Usernames.
 
24
  * **XMLRPC** gateway protection.
25
  * **Woocommerce** login page protection.
26
  * **Multi-site** compatibility with extra MU settings.
@@ -49,6 +50,9 @@ Based on the original code from Limit Login Attemps plugin by Johan Eenfeldt.
49
 
50
  == Changelog ==
51
 
 
 
 
52
  = 2.6.2 =
53
  Fixed the issue with backslashes in usernames.
54
 
2
  Contributors: wpchefgadget
3
  Tags: login, security, authentication, Limit Login Attempts, Limit Login Attempts Reloaded, Limit Login Attempts Revamped, Limit Login Attempts Renovated, Limit Login Attempts Updated, Better Limit Login Attempts, Limit Login Attempts Renewed, Limit Login Attempts Upgraded
4
  Requires at least: 3.0
5
+ Tested up to: 4.9.1
6
+ Stable tag: 2.6.3
7
 
8
  Reloaded version of the original Limit Login Attempts plugin for Login Protection by a team of WordPress developers.
9
 
21
  * Optional logging and optional email notification.
22
  * Handles server behind the reverse proxy.
23
  * It is possible to whitelist/blacklist IPs and Usernames.
24
+ * Sucuri Website Firewall compatibility.
25
  * **XMLRPC** gateway protection.
26
  * **Woocommerce** login page protection.
27
  * **Multi-site** compatibility with extra MU settings.
50
 
51
  == Changelog ==
52
 
53
+ = 2.6.3 =
54
+ Added support of Sucuri Website Firewall.
55
+
56
  = 2.6.2 =
57
  Fixed the issue with backslashes in usernames.
58