Version Description
- Settings page is moved back to "Settings".
Download this release
Release Info
Developer | wpchefgadget |
Plugin | Limit Login Attempts Reloaded |
Version | 2.7.3 |
Comparing to | |
See all releases |
Code changes from version 2.7.2 to 2.7.3
assets/css/limit-login-attempts.css
CHANGED
@@ -7,6 +7,3 @@
|
|
7 |
padding: 10px; }
|
8 |
.limit-login-page-settings .limit-login-log table tr:nth-child(even) {
|
9 |
background-color: rgba(0, 0, 0, 0.09); }
|
10 |
-
|
11 |
-
#toplevel_page_limit-login-attempts .wp-menu-image img {
|
12 |
-
max-width: 22px; }
|
7 |
padding: 10px; }
|
8 |
.limit-login-page-settings .limit-login-log table tr:nth-child(even) {
|
9 |
background-color: rgba(0, 0, 0, 0.09); }
|
|
|
|
|
|
assets/img/icon-menu2.svg
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<?xml version="1.0" ?><!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'><svg enable-background="new -0.6 -1 27 31" height="31px" version="1.1" viewBox="-0.6 -1 27 31" width="27px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs/><path clip-rule="evenodd" d="M13.1,29.8L13.1,29.8c-14.8-3.2-13-25-13-25 C7.9,5.7,12.4,0.8,13,0.1V0c0,0,0,0,0,0c0,0,0,0,0,0v0.1c0.6,0.7,5.2,5.6,12.9,4.7C26,4.8,27.9,26.6,13.1,29.8z M23.3,6.5 c-6.2,0.7-9.8-3-10.2-3.6V2.8c0,0,0,0,0,0c0,0,0,0,0,0v0.1C12.5,3.5,8.9,7.2,2.8,6.5c0,0-1.4,18.2,10.3,20.7h0 C24.8,24.7,23.3,6.5,23.3,6.5z M13.1,25.3L13.1,25.3c-0.3-0.1-0.5-0.1-0.7-0.2l8.8-9.7C20.2,19.5,18.1,24.2,13.1,25.3z M8.6,22.9 l13-14.1c0,0.7,0,1.8-0.1,3.1L10.4,24.2C9.7,23.9,9.1,23.4,8.6,22.9z M4.5,8.1c5.1,0.6,8.1-2.5,8.5-3V5c0,0,0,0,0,0c0,0,0,0,0,0v0.1 c0.3,0.4,2.6,2.8,6.5,3.1L7.3,21.3C3.9,16.1,4.5,8.1,4.5,8.1z" fill="#fff" fill-rule="evenodd"/></svg>
|
|
assets/sass/limit-login-attempts.scss
CHANGED
@@ -14,12 +14,4 @@
|
|
14 |
}
|
15 |
}
|
16 |
}
|
17 |
-
}
|
18 |
-
|
19 |
-
#toplevel_page_limit-login-attempts {
|
20 |
-
.wp-menu-image {
|
21 |
-
img {
|
22 |
-
max-width: 22px;
|
23 |
-
}
|
24 |
-
}
|
25 |
}
|
14 |
}
|
15 |
}
|
16 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
}
|
core/LimitLoginAttempts.php
CHANGED
@@ -333,12 +333,12 @@ class Limit_Login_Attempts
|
|
333 |
*/
|
334 |
public function network_admin_menu()
|
335 |
{
|
336 |
-
|
337 |
}
|
338 |
|
339 |
public function admin_menu()
|
340 |
{
|
341 |
-
|
342 |
}
|
343 |
|
344 |
/**
|
@@ -942,7 +942,7 @@ class Limit_Login_Attempts
|
|
942 |
$my_warn_count = $limit_login_my_error_shown ? 1 : 0;
|
943 |
|
944 |
if ( $limit_login_nonempty_credentials && $count > $my_warn_count ) {
|
945 |
-
|
946 |
/* Replace error message, including ours if necessary */
|
947 |
if( !empty( $_REQUEST['log'] ) && is_email( $_REQUEST['log'] ) ) {
|
948 |
$content = __( '<strong>ERROR</strong>: Incorrect email address or password.', 'limit-login-attempts-reloaded' ) . "<br />\n";
|
333 |
*/
|
334 |
public function network_admin_menu()
|
335 |
{
|
336 |
+
add_submenu_page( 'settings.php', 'Limit Login Attempts', 'Limit Login Attempts', 'manage_options', $this->_options_page_slug, array( $this, 'options_page' ) );
|
337 |
}
|
338 |
|
339 |
public function admin_menu()
|
340 |
{
|
341 |
+
add_options_page( 'Limit Login Attempts', 'Limit Login Attempts', 'manage_options', $this->_options_page_slug, array( $this, 'options_page' ) );
|
342 |
}
|
343 |
|
344 |
/**
|
942 |
$my_warn_count = $limit_login_my_error_shown ? 1 : 0;
|
943 |
|
944 |
if ( $limit_login_nonempty_credentials && $count > $my_warn_count ) {
|
945 |
+
|
946 |
/* Replace error message, including ours if necessary */
|
947 |
if( !empty( $_REQUEST['log'] ) && is_email( $_REQUEST['log'] ) ) {
|
948 |
$content = __( '<strong>ERROR</strong>: Incorrect email address or password.', 'limit-login-attempts-reloaded' ) . "<br />\n";
|
limit-login-attempts-reloaded.php
CHANGED
@@ -5,7 +5,7 @@ Description: Limit the rate of login attempts, including by way of cookies and f
|
|
5 |
Author: WPChef
|
6 |
Author URI: https://wpchef.org
|
7 |
Text Domain: limit-login-attempts-reloaded
|
8 |
-
Version: 2.7.
|
9 |
|
10 |
Copyright 2008 - 2012 Johan Eenfeldt, 2016 - 2019 WPChef
|
11 |
|
5 |
Author: WPChef
|
6 |
Author URI: https://wpchef.org
|
7 |
Text Domain: limit-login-attempts-reloaded
|
8 |
+
Version: 2.7.3
|
9 |
|
10 |
Copyright 2008 - 2012 Johan Eenfeldt, 2016 - 2019 WPChef
|
11 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: wpchefgadget
|
|
3 |
Tags: brute force, login, security, GDPR, protection
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 5.0.3
|
6 |
-
Stable tag: 2.7.
|
7 |
|
8 |
Reloaded version of the original Limit Login Attempts plugin for Login Protection by a team of WordPress developers. GDPR compliant.
|
9 |
|
@@ -51,6 +51,9 @@ Based on the original code from Limit Login Attemps plugin by Johan Eenfeldt.
|
|
51 |
|
52 |
== Changelog ==
|
53 |
|
|
|
|
|
|
|
54 |
= 2.7.2 =
|
55 |
* Settings are moved to a separate page.
|
56 |
* Fixed: login error message. https://wordpress.org/support/topic/how-to-change-login-error-message/
|
3 |
Tags: brute force, login, security, GDPR, protection
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 5.0.3
|
6 |
+
Stable tag: 2.7.3
|
7 |
|
8 |
Reloaded version of the original Limit Login Attempts plugin for Login Protection by a team of WordPress developers. GDPR compliant.
|
9 |
|
51 |
|
52 |
== Changelog ==
|
53 |
|
54 |
+
= 2.7.3 =
|
55 |
+
* Settings page is moved back to "Settings".
|
56 |
+
|
57 |
= 2.7.2 =
|
58 |
* Settings are moved to a separate page.
|
59 |
* Fixed: login error message. https://wordpress.org/support/topic/how-to-change-login-error-message/
|