WPBruiser {no- Captcha anti-Spam} - Version 3.0.15

Version Description

Improvements

  • Compatibility with Avada theme
  • Refreshed Country IPs
  • Refreshed WebAttackers IPs
  • Refreshed Proxy IPs
Download this release

Release Info

Developer mihche
Plugin Icon 128x128 WPBruiser {no- Captcha anti-Spam}
Version 3.0.15
Comparing to
See all releases

Code changes from version 3.0.14 to 3.0.15

engine/modules/proxy-headers/partials/admin-settings.php CHANGED
@@ -165,7 +165,7 @@ foreach($detectedIpProxyHeaders as $index => $header)
165
 
166
  if(!MchGdbcHttpRequest::isThroughProxy())
167
  {
168
- $proxyDetectionMessage = "WPBruiser has not detected any web proxy in front of your web site!";
169
  }
170
  elseif(null !== $detectedProxyService)
171
  {
@@ -181,10 +181,13 @@ foreach($detectedIpProxyHeaders as $index => $header)
181
  <tr>
182
  <td colspan="2">
183
 
 
184
 
185
- <div class="mch-meta-notice-warning" style="padding-top: 5px; padding-bottom: 5px; text-align: left">
186
- <h3 style="margin: 0; padding: 0; font-size: 1.12em; line-height: 1.6;"><?php echo $proxyDetectionMessage; ?></h3>
187
- </div>
 
 
188
 
189
  <p style="margin-top: 15px; padding: 0; font-size: 1.05em;">
190
  If <b style = "color:#d54e21"> <?php echo GdbcIPUtils::getClientIpAddress(); ?> </b> is your current IP Address - check by clicking here: <a target="_blank" href = "http://www.whatsmyip.org/">What'sMyIP</a> - no additional action is required!
165
 
166
  if(!MchGdbcHttpRequest::isThroughProxy())
167
  {
168
+ //$proxyDetectionMessage = "WPBruiser has not detected any web proxy in front of your web site!";
169
  }
170
  elseif(null !== $detectedProxyService)
171
  {
181
  <tr>
182
  <td colspan="2">
183
 
184
+ <?php if(!empty($proxyDetectionMessage)){ ?>
185
 
186
+ <div class="mch-meta-notice-warning" style="padding-top: 5px; padding-bottom: 5px; text-align: left">
187
+ <h3 style="margin: 0; padding: 0; font-size: 1.12em; line-height: 1.6;"><?php echo $proxyDetectionMessage; ?></h3>
188
+ </div>
189
+
190
+ <?php } ?>
191
 
192
  <p style="margin-top: 15px; padding: 0; font-size: 1.05em;">
193
  If <b style = "color:#d54e21"> <?php echo GdbcIPUtils::getClientIpAddress(); ?> </b> is your current IP Address - check by clicking here: <a target="_blank" href = "http://www.whatsmyip.org/">What'sMyIP</a> - no additional action is required!
engine/modules/wordpress/GdbcWordPressPublicModule.php CHANGED
@@ -129,8 +129,23 @@ class GdbcWordPressPublicModule extends GdbcBasePublicModule
129
  $this->addActionHook('gal_user_loggedin', array($this, 'isUserAuthenticatedByGoogleAppsLogin'), 1, 1);
130
  }
131
 
 
 
 
132
  }
133
 
 
 
 
 
 
 
 
 
 
 
 
 
134
 
135
  public function registerXmlRpcFailedLogin($userName)
136
  {
129
  $this->addActionHook('gal_user_loggedin', array($this, 'isUserAuthenticatedByGoogleAppsLogin'), 1, 1);
130
  }
131
 
132
+
133
+ add_filter( 'wp_nav_menu_items', array($this, 'renderTokenFieldIntoAvadaMenuLoginForm'), PHP_INT_MAX, 2 );
134
+
135
  }
136
 
137
+ public function renderTokenFieldIntoAvadaMenuLoginForm($items, $args)
138
+ {
139
+ if( ! function_exists('avada_add_login_box_to_nav') )
140
+ return $items;
141
+
142
+ if( false === strrpos($items, 'fusion-remember-checkbox') )
143
+ return $items;
144
+
145
+
146
+ return str_replace('</form>', $this->getTokenFieldHtml() . '</form>', $items);
147
+
148
+ }
149
 
150
  public function registerXmlRpcFailedLogin($userName)
151
  {
goodbye-captcha.php CHANGED
@@ -10,7 +10,7 @@
10
  * Plugin Name: WPBruiser
11
  * Plugin URI: http://www.wpbruiser.com
12
  * Description: An extremely powerful anti-spam plugin that blocks spambots without annoying captcha images.
13
- * Version: 3.0.14
14
  * Author: Mihai Chelaru
15
  * Author URI: http://www.wpbruiser.com
16
  * Text Domain: wp-bruiser
@@ -23,7 +23,7 @@ if(!class_exists('GoodByeCaptcha', false))
23
  {
24
  class GoodByeCaptcha
25
  {
26
- CONST PLUGIN_VERSION = '3.0.14';
27
  CONST PLUGIN_SLUG = 'wp-bruiser';
28
  CONST PLUGIN_NAME = 'WPBruiser';
29
  CONST PLUGIN_SITE_URL = 'http://www.wpbruiser.com';
10
  * Plugin Name: WPBruiser
11
  * Plugin URI: http://www.wpbruiser.com
12
  * Description: An extremely powerful anti-spam plugin that blocks spambots without annoying captcha images.
13
+ * Version: 3.0.15
14
  * Author: Mihai Chelaru
15
  * Author URI: http://www.wpbruiser.com
16
  * Text Domain: wp-bruiser
23
  {
24
  class GoodByeCaptcha
25
  {
26
+ CONST PLUGIN_VERSION = '3.0.15';
27
  CONST PLUGIN_SLUG = 'wp-bruiser';
28
  CONST PLUGIN_NAME = 'WPBruiser';
29
  CONST PLUGIN_SITE_URL = 'http://www.wpbruiser.com';
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: captcha, antispam, anti-spam, spam, mailpoet, antispambot, brute force, comment spam, jetpack contact form, contact form 7, ninja forms, formidable forms, wp bruiser
5
  Requires at least: 3.5
6
  Tested up to: 4.6
7
- Stable tag: 3.0.14
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -218,10 +218,18 @@ Studies shown that visual CAPTCHAs take around 5-10 seconds to complete and audi
218
 
219
 
220
  == Upgrade Notice ==
221
- Improved proxy detection feature
222
 
223
  == Changelog ==
224
 
 
 
 
 
 
 
 
 
225
  = 3.0.14 =
226
  **Fixes**
227
 
4
  Tags: captcha, antispam, anti-spam, spam, mailpoet, antispambot, brute force, comment spam, jetpack contact form, contact form 7, ninja forms, formidable forms, wp bruiser
5
  Requires at least: 3.5
6
  Tested up to: 4.6
7
+ Stable tag: 3.0.15
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
218
 
219
 
220
  == Upgrade Notice ==
221
+ Compatibility with Avada theme
222
 
223
  == Changelog ==
224
 
225
+ = 3.0.15 =
226
+ **Improvements**
227
+
228
+ - Compatibility with Avada theme
229
+ - Refreshed Country IPs
230
+ - Refreshed WebAttackers IPs
231
+ - Refreshed Proxy IPs
232
+
233
  = 3.0.14 =
234
  **Fixes**
235