WordPress

Update: If you are receiving the following PHP error, re-download the plugin. It has been fixed. Warning: Invalid argument supplied for foreach() in /home/editor/public_html/news/wp-content/plugins/bad-behavior-blackhole.php on line 36

The Bad Behavior Blackhole is available as a WordPress plugin which will screen comments, trackbacks and pingbacks. It requires WordPress 1.5 or later.

This is a pretty standard RBL plugin which has been living in my own my-hacks.php for a few months, and it has been updated for WordPress 1.5, while other RBL plugins appear not to have been. It is released under the GNU General Public License, either version 2, or (at your option) any later version.

View or download bad-behavior-blackhole.php here. Save it to your computer, edit to taste, upload in ASCII mode, and activate. You’re done! The plugin not only includes the Bad Behavior Blackhole, but several other spam source lists. You can choose whether to moderate or mark as spam comments, trackbacks and pingbacks which originate from each of these sources, or add your own favorite RBL to the list.

Be sure to also install Bad Behavior for your first line of defense against link spam! For now the Bad Behavior Blackhole plugin is only available as a separate download. It will be shipped with Bad Behavior in a future release.