Bad Behavior - Version 2.2.22

Version Description

Download this release

Release Info

Developer error
Plugin Icon wp plugin Bad Behavior
Version 2.2.22
Comparing to
See all releases

Code changes from version 2.2.21 to 2.2.22

README.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: error
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=error%40ioerror%2eus&item_name=Bad%20Behavior%20%28From%20WordPress%20Page%29&no_shipping=1&cn=Comments%20about%20Bad%20Behavior&tax=0&currency_code=USD&bn=PP%2dDonationsBF&charset=UTF%2d8
5
  Requires at least: 3.5
6
  Tested up to: 4.9.7
7
- Stable tag: 2.2.21
8
 
9
  Bad Behavior prevents spammers from ever delivering their junk, and in many
10
  cases, from ever reading your site in the first place.
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=error%40ioerror%2eus&item_name=Bad%20Behavior%20%28From%20WordPress%20Page%29&no_shipping=1&cn=Comments%20about%20Bad%20Behavior&tax=0&currency_code=USD&bn=PP%2dDonationsBF&charset=UTF%2d8
5
  Requires at least: 3.5
6
  Tested up to: 4.9.7
7
+ Stable tag: 2.2.22
8
 
9
  Bad Behavior prevents spammers from ever delivering their junk, and in many
10
  cases, from ever reading your site in the first place.
bad-behavior-wordpress.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: Bad Behavior
4
- Version: 2.2.21
5
  Description: Deny automated spambots access to your PHP-based Web site.
6
  Plugin URI: http://bad-behavior.ioerror.us/
7
  Author: Michael Hampton
1
  <?php
2
  /*
3
  Plugin Name: Bad Behavior
4
+ Version: 2.2.22
5
  Description: Deny automated spambots access to your PHP-based Web site.
6
  Plugin URI: http://bad-behavior.ioerror.us/
7
  Author: Michael Hampton
bad-behavior/core.inc.php CHANGED
@@ -1,12 +1,11 @@
1
  <?php if (!defined('BB2_CWD')) die("I said no cheating!");
2
- define('BB2_VERSION', "2.2.21");
3
 
4
  // Bad Behavior entry point is bb2_start()
5
  // If you're reading this, you are probably lost.
6
  // Go read the bad-behavior-generic.php file.
7
 
8
  define('BB2_CORE', dirname(__FILE__));
9
- define('BB2_COOKIE', 'bb2_screener_');
10
 
11
  require_once(BB2_CORE . "/functions.inc.php");
12
 
@@ -231,10 +230,6 @@ function bb2_screen($settings, $package)
231
  }
232
  }
233
 
234
- // Last chance screening.
235
- require_once(BB2_CORE . "/screener.inc.php");
236
- bb2_screener($settings, $package);
237
-
238
  // And that's about it.
239
  bb2_approved($settings, $package);
240
  return false;
1
  <?php if (!defined('BB2_CWD')) die("I said no cheating!");
2
+ define('BB2_VERSION', "2.2.22");
3
 
4
  // Bad Behavior entry point is bb2_start()
5
  // If you're reading this, you are probably lost.
6
  // Go read the bad-behavior-generic.php file.
7
 
8
  define('BB2_CORE', dirname(__FILE__));
 
9
 
10
  require_once(BB2_CORE . "/functions.inc.php");
11
 
230
  }
231
  }
232
 
 
 
 
 
233
  // And that's about it.
234
  bb2_approved($settings, $package);
235
  return false;
bad-behavior/screener.inc.php DELETED
@@ -1,15 +0,0 @@
1
- <?php if (!defined('BB2_CWD')) die("I said no cheating!");
2
-
3
- // Bad Behavior browser screener
4
-
5
- // Deprecated. Remove any cookies if they exist.
6
- function bb2_screener_cookie($settings, $package, $cookie_name, $cookie_value)
7
- {
8
- // Delete existing cookie, if any
9
- setcookie($cookie_name, $cookie_value, 1, bb2_relative_path());
10
- }
11
-
12
- function bb2_screener($settings, $package)
13
- {
14
- bb2_screener_cookie($settings, $package, BB2_COOKIE, $cookie_value);
15
- }