This is a very simple WordPress plugin, designed to reduce the number of spam comment submissions in WordPress websites and blogs.
The plugin works in two ways:
- Removes the website field from the comment form.
- Prevents the posting of comments that contain any word or phrase in the blacklist (which includes clickable URL links by default).
Because the plugin blocks the submission of comments containing the blacklisted words/phrases at source (rather than just adds them to spam), this plugin prevents spam comments from ever reaching the database. This saves the website administrator the task of reviewing and deleting these spam posts.
If submission of a comment containing a blacklisted item is attempted, the submitter is presented with an error message (configurable) explaining that the comment was rejected.
This plugin was originally developed solely to prevent the inclusion of clickable hyperlinks within the comments field, and this remains the default configuration, as per the blacklist.
The blacklist may be edited from the Settings page, as can the rejection message text and colour.
Users with the role of "administrator" are exempt from the blacklist filter.
To install search for "ZWS Wordpress Anti Spam & URL Filter" in the WordPress Plugins Directory, then click the "Install Now" button.
When it's installed, simply activate, then navigate to the Settings page to update the defaults to your liking.
Alternatively, the plugin may be installed via a zip file, available here:
https://www.zaziork.com/zws-wordpress-anti-spam-filter-plugin/
After downloading the zip, upload the plugin to the '/wp-content/plugins/' directory, then activate through the 'Plugins' menu in WordPress.
2.3
Fixed bug where database was not being created on upgrade from 1.x versions.
2.2
Enclosed remaining exposed functions within classes to avoid possible name clashes with other plugins.
2.1
Fixed a bug in db.php that resulted in a PHP log warning.
2.0
Filter blacklist now stored in database table. Options added for admin user to configure blacklist, rejection message text, and rejection message colour.
1.3
Added the ability to easily customise the filter "blacklist" through a CSV file.
1.2
Added ability for users with the role of "administrator" to add links to comments.
1.1
Small update to include https and ftp protocols in the filter.
1.0
Initial full version of plugin.