Brute Force Login Protection - Version 1.5.2

Version Description

  • Bugfix
Download this release

Release Info

Developer Jan-Paul Kleemans
Plugin Icon 128x128 Brute Force Login Protection
Version 1.5.2
Comparing to
See all releases

Code changes from version 1.5.1 to 1.5.2

brute-force-login-protection.php CHANGED
@@ -10,7 +10,7 @@ require_once 'includes/htaccess.php';
10
  * Text Domain: brute-force-login-protection
11
  * Author: Fresh-Media
12
  * Author URI: http://fresh-media.nl/
13
- * Version: 1.5.1
14
  * License: GPL2
15
  *
16
  * Copyright 2014 Fresh-Media
10
  * Text Domain: brute-force-login-protection
11
  * Author: Fresh-Media
12
  * Author URI: http://fresh-media.nl/
13
+ * Version: 1.5.2
14
  * License: GPL2
15
  *
16
  * Copyright 2014 Fresh-Media
includes/htaccess.php CHANGED
@@ -199,7 +199,7 @@ class Htaccess {
199
  * @return boolean
200
  */
201
  private function __addLine($line) {
202
- $insertion = array_merge($this->__header, $this->__getLines(false, true), array($line), $this->__footer);
203
 
204
  return $this->__insert(array_unique($insertion));
205
  }
199
  * @return boolean
200
  */
201
  private function __addLine($line) {
202
+ $insertion = array_merge($this->__header, $this->__getLines(array('deny from ', 'ErrorDocument 403 ')), array($line), $this->__footer);
203
 
204
  return $this->__insert(array_unique($insertion));
205
  }
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: Jan-Paul Kleemans
3
  Tags: brute force, bruteforce, login, wp-login, protection, shield, security, htaccess, block, ip
4
  Requires at least: 2.7.0
5
  Tested up to: 4.2.2
6
- Stable tag: 1.5.1
7
  License: GPL2
8
 
9
  Protects your website against brute force login attacks using .htaccess
@@ -30,6 +30,9 @@ If you'd like to make a contribution to the Brute Force Login Protection plugin,
30
  You can also create a thread in our <a href="https://wordpress.org/support/plugin/brute-force-login-protection/">Support Forum</a>.
31
  **Your feedback is highly appreciated!**
32
 
 
 
 
33
  == Installation ==
34
  1. Install the plugin either via the WordPress.org plugin directory, or by uploading the files to your wp-content/plugin directory.
35
  2. Activate the plugin through the WordPress admin panel.
@@ -48,6 +51,9 @@ Brute Force Login Protection will only work if your .htaccess file is writeable
48
  1. Plugin settings page
49
 
50
  == Changelog ==
 
 
 
51
  = 1.5.1 =
52
  * Security fix
53
 
3
  Tags: brute force, bruteforce, login, wp-login, protection, shield, security, htaccess, block, ip
4
  Requires at least: 2.7.0
5
  Tested up to: 4.2.2
6
+ Stable tag: 1.5.2
7
  License: GPL2
8
 
9
  Protects your website against brute force login attacks using .htaccess
30
  You can also create a thread in our <a href="https://wordpress.org/support/plugin/brute-force-login-protection/">Support Forum</a>.
31
  **Your feedback is highly appreciated!**
32
 
33
+ = Donate =
34
+ If you'd like to make a donation to the Brute Force Login Protection plugin, you can do so via PayPal by clicking <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=WYG6F8B2BP5UL&lc=NL&item_name=Brute%20Force%20Login%20Protection&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted">here</a>.
35
+
36
  == Installation ==
37
  1. Install the plugin either via the WordPress.org plugin directory, or by uploading the files to your wp-content/plugin directory.
38
  2. Activate the plugin through the WordPress admin panel.
51
  1. Plugin settings page
52
 
53
  == Changelog ==
54
+ = 1.5.2 =
55
+ * Bugfix
56
+
57
  = 1.5.1 =
58
  * Security fix
59