Version Description
Download this release
Release Info
Developer | error |
Plugin | Bad Behavior |
Version | 2.0.34 |
Comparing to | |
See all releases |
Code changes from version 2.0.33 to 2.0.34
- README.txt +1 -1
- bad-behavior-wordpress.php +1 -1
- bad-behavior/banned.inc.php +2 -1
- bad-behavior/version.inc.php +1 -1
README.txt
CHANGED
@@ -4,7 +4,7 @@ Contributors: error, MarkJaquith, Firas, skeltoac
|
|
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¤cy_code=USD&bn=PP%2dDonationsBF&charset=UTF%2d8
|
5 |
Requires at least: 1.2
|
6 |
Tested up to: 2.8.6
|
7 |
-
Stable tag: 2.0.
|
8 |
|
9 |
Welcome to a whole new way of keeping your blog, forum, guestbook, wiki or
|
10 |
content management system free of link spam. Bad Behavior is a PHP-based
|
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¤cy_code=USD&bn=PP%2dDonationsBF&charset=UTF%2d8
|
5 |
Requires at least: 1.2
|
6 |
Tested up to: 2.8.6
|
7 |
+
Stable tag: 2.0.34
|
8 |
|
9 |
Welcome to a whole new way of keeping your blog, forum, guestbook, wiki or
|
10 |
content management system free of link spam. Bad Behavior is a PHP-based
|
bad-behavior-wordpress.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Bad Behavior
|
4 |
-
Version: 2.0.
|
5 |
Description: Deny automated spambots access to your PHP-based Web site.
|
6 |
Plugin URI: http://www.bad-behavior.ioerror.us/
|
7 |
Author: Michael Hampton
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Bad Behavior
|
4 |
+
Version: 2.0.34
|
5 |
Description: Deny automated spambots access to your PHP-based Web site.
|
6 |
Plugin URI: http://www.bad-behavior.ioerror.us/
|
7 |
Author: Michael Hampton
|
bad-behavior/banned.inc.php
CHANGED
@@ -7,6 +7,7 @@ require_once(BB2_CORE . "/responses.inc.php");
|
|
7 |
|
8 |
function bb2_display_denial($settings, $key, $previous_key = false)
|
9 |
{
|
|
|
10 |
if (!$previous_key) $previous_key = $key;
|
11 |
if ($key == "e87553e1") {
|
12 |
// FIXME: lookup the real key
|
@@ -25,7 +26,7 @@ function bb2_display_denial($settings, $key, $previous_key = false)
|
|
25 |
header("Status: " . $response['response'] . " Bad Behavior");
|
26 |
?>
|
27 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
28 |
-
|
29 |
<head>
|
30 |
<title>HTTP Error <?php echo $response['response']; ?></title>
|
31 |
</head>
|
7 |
|
8 |
function bb2_display_denial($settings, $key, $previous_key = false)
|
9 |
{
|
10 |
+
define('DONOTCACHEPAGE', true); // WP Super Cache
|
11 |
if (!$previous_key) $previous_key = $key;
|
12 |
if ($key == "e87553e1") {
|
13 |
// FIXME: lookup the real key
|
26 |
header("Status: " . $response['response'] . " Bad Behavior");
|
27 |
?>
|
28 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
29 |
+
<!--< html xmlns="http://www.w3.org/1999/xhtml">-->
|
30 |
<head>
|
31 |
<title>HTTP Error <?php echo $response['response']; ?></title>
|
32 |
</head>
|
bad-behavior/version.inc.php
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
<?php if (!defined('BB2_CWD')) die("I said no cheating!");
|
2 |
-
define('BB2_VERSION', "2.0.
|
3 |
?>
|
1 |
<?php if (!defined('BB2_CWD')) die("I said no cheating!");
|
2 |
+
define('BB2_VERSION', "2.0.34");
|
3 |
?>
|