Version Description
Download this release
Release Info
Developer | error |
Plugin | Bad Behavior |
Version | 2.0.20 |
Comparing to | |
See all releases |
Code changes from version 2.0.19 to 2.0.20
- README.txt +6 -13
- bad-behavior-wordpress-admin.php +3 -3
- bad-behavior-wordpress.php +1 -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.5
|
6 |
Tested up to: 2.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
|
@@ -62,18 +62,6 @@ the following:
|
|
62 |
For complete documentation and installation instructions, please visit
|
63 |
http://www.bad-behavior.ioerror.us/
|
64 |
|
65 |
-
== Warning ==
|
66 |
-
|
67 |
-
The WordPress-hosted copy of Bad Behavior should never be used in
|
68 |
-
conjunction with Dave's Spam Karma plugin. If you intend to use Spam
|
69 |
-
Karma and Bad Behavior together, always use the official copy from the
|
70 |
-
Bad Behavior home page at http://www.bad-behavior.ioerror.us/download/ .
|
71 |
-
|
72 |
-
The WordPress-hosted copy of Bad Behavior is unofficial and updated
|
73 |
-
only when a major bug or security fix is available. To ensure that you
|
74 |
-
always have the latest available release, always use the official copy
|
75 |
-
from the Bad Behavior home page at http://www.bad-behavior.ioerror.us/ .
|
76 |
-
|
77 |
== Release Notes ==
|
78 |
|
79 |
= Bad Behavior 2.0 Known Issues =
|
@@ -97,3 +85,8 @@ following two lines at around line 34 (line 56 in WP-Super Cache):
|
|
97 |
|
98 |
Then visit your site. Everything should work normally, but spammers will
|
99 |
not be able to access your cached pages either.
|
|
|
|
|
|
|
|
|
|
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.5
|
6 |
Tested up to: 2.6
|
7 |
+
Stable tag: 2.0.20
|
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
|
62 |
For complete documentation and installation instructions, please visit
|
63 |
http://www.bad-behavior.ioerror.us/
|
64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
== Release Notes ==
|
66 |
|
67 |
= Bad Behavior 2.0 Known Issues =
|
85 |
|
86 |
Then visit your site. Everything should work normally, but spammers will
|
87 |
not be able to access your cached pages either.
|
88 |
+
|
89 |
+
* When using Bad Behavior in conjunction with Spam Karma 2, you may see PHP
|
90 |
+
warnings when Spam Karma 2 displays its internally generated CAPTCHA. This
|
91 |
+
is a design problem in Spam Karma 2. Contact the author of Spam Karma 2 for
|
92 |
+
a fix.
|
bad-behavior-wordpress-admin.php
CHANGED
@@ -80,7 +80,7 @@ Displaying <strong><?php echo $count; ?></strong> of <strong><?php echo $totalco
|
|
80 |
<?php else: ?>
|
81 |
Displaying all <strong><?php echo $totalcount; ?></strong> records<br/>
|
82 |
<?php endif; ?>
|
83 |
-
<?php if (!$_GET['key'] && !$_GET['blocked']) { ?><a href="<?php add_query_arg("blocked"
|
84 |
</div>
|
85 |
</div>
|
86 |
|
@@ -106,8 +106,8 @@ Displaying all <strong><?php echo $totalcount; ?></strong> records<br/>
|
|
106 |
}
|
107 |
echo "<th scope=\"row\" class=\"check-column\"><input type=\"checkbox\" name=\"submit[]\" value=\"" . $result["id"] . "\" /></th>\n";
|
108 |
echo "<td><a href=\"" . add_query_arg("ip", $result["ip"], remove_query_arg("paged", $request_uri)) . "\">" . $result["ip"] . "</a><br/><br/>\n" . $result["date"] . "<br/><br/><a href=\"" . add_query_arg("key", $result["key"], remove_query_arg(array("paged", "blocked"), $request_uri)) . "\">" . $key["log"] . "</a></td>\n";
|
109 |
-
echo "<td>" . str_replace(array($result['user_agent'], $result['request_method'], "\n"), array("<a href=\"" . add_query_arg("user_agent", $result["user_agent"], remove_query_arg("paged", $request_uri)) . "\">" . $result["user_agent"] . "</a>", "<a href=\"" . add_query_arg("request_method" , $result["request_method"], remove_query_arg("paged", $request_uri)) . "\">" . $result["request_method"] . "</a>", "<br/>\n"), $result["http_headers"]) . "</td>\n";
|
110 |
-
echo "<td>" . str_replace("\n", "<br/>\n", $result["request_entity"]) . "</td>\n";
|
111 |
echo "</tr>\n";
|
112 |
}
|
113 |
?>
|
80 |
<?php else: ?>
|
81 |
Displaying all <strong><?php echo $totalcount; ?></strong> records<br/>
|
82 |
<?php endif; ?>
|
83 |
+
<?php if (!$_GET['key'] && !$_GET['blocked']) { ?><a href="<?php echo add_query_arg(array("blocked" => "true", "paged" => false), $request_uri); ?>">Show Blocked</a><?php } ?>
|
84 |
</div>
|
85 |
</div>
|
86 |
|
106 |
}
|
107 |
echo "<th scope=\"row\" class=\"check-column\"><input type=\"checkbox\" name=\"submit[]\" value=\"" . $result["id"] . "\" /></th>\n";
|
108 |
echo "<td><a href=\"" . add_query_arg("ip", $result["ip"], remove_query_arg("paged", $request_uri)) . "\">" . $result["ip"] . "</a><br/><br/>\n" . $result["date"] . "<br/><br/><a href=\"" . add_query_arg("key", $result["key"], remove_query_arg(array("paged", "blocked"), $request_uri)) . "\">" . $key["log"] . "</a></td>\n";
|
109 |
+
echo "<td>" . str_replace(array($result['user_agent'], $result['request_method'], "\n"), array("<a href=\"" . add_query_arg("user_agent", $result["user_agent"], remove_query_arg("paged", $request_uri)) . "\">" . $result["user_agent"] . "</a>", "<a href=\"" . add_query_arg("request_method" , $result["request_method"], remove_query_arg("paged", $request_uri)) . "\">" . $result["request_method"] . "</a>", "<br/>\n"), htmlspecialchars($result["http_headers"])) . "</td>\n";
|
110 |
+
echo "<td>" . htmlspecialchars(str_replace("\n", "<br/>\n", $result["request_entity"])) . "</td>\n";
|
111 |
echo "</tr>\n";
|
112 |
}
|
113 |
?>
|
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.20
|
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/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.20");
|
3 |
?>
|