Plugin / AVH First Defense Against Spam

Peter van der Does



Version 3.7.3

  • Missing buttons in the admin section.
  • MySQLi error.

Version 3.7.2

  • Clean up code
  • Starting with version 4.x PHP 5.6 will be required.

Version 3.7.1

  • PHP 5.3 is dead, long live PHP 5.3
    Forgot people still run 5.3 which doesn’t support shorthand for arrays.

Version 3.7.0

  • Bugfix: Error on IP Cache log page

Version 3.6.9

  • The API URL changed for Stop Forum Spam.

Version 3.6.8

  • Drop the use of Spamhaus checking the CBL.

Version 3.6.7

  • Better check for supported MySQL version. (Props: doublesharp)

Version 3.6.5

  • “Display” Honeypot URL on the login and register screen.
  • Randomize the way the Honeyput URL is displayed.

Version 3.6.4

  • Bugfix: Fix comment reply bug when replying with official WordPress App.

Version 3.6.3

  • Updated German language.

Version 3.6.2

  • Bugfix: Warning given during MU regsitration process.

Version 3.6.1

  • Add German translation
  • Bugfix: Database error Duplicate entry.
    Sometimes this error occurs when MySQL hasn’t written to the database yet and the spammer is back on the site already. It causes the logfile to be flooded with this error message.

Version 3.6.0

  • Changed behavior when spammer is detected during registration process.
    The connection will no longer be terminated, but instead it will return an error to the login process. This works better when a plugin uses AJAX for their registration process.
  • Add compatibility with the plugin Events Manager.

Version 3.5.3

  • Detecting remote IP returned wrong information when a loopback address was found.

Version 3.5.2

  • $wpdb->prepare fixes as per WordPress 3.5

Version 3.5.1

  • Reporting spam doesn’t work in WordPress 3.5

Version 3.5.0

  • Do check during WordPress MU user validation
  • Fixes Stop Forum Spam error message reporting.

Version 3.4.2

  • When call to Stop Forum Spam fails on during the check, no error message is reported.

Version 3.4.1

  • Bugfix: If WordPress registration page is embedded in a theme page, an error could possibly occur.

Version 3.4

  • Block comments made without a referrer.
  • When using the plugin Hyper Cache, pages shown to blocked visitors will not be cached. The caching caused to show the blocked page to legit visitors.
  • When no email is provided in a spam comment, you can’t report it to Stop Forum Spam as this is against their policy.

Version 3.3.1

  • Bugfix: Problem with accessing the options pages.

Version 3.3

  • RFC: Add abillity to also check on email.
  • Bugfix: Enqueue certain CSS files instead of loading them directly.
  • Updated the language file.

Version 3.2.6

  • Bugfix: Correctly load the text domain file.

Version 3.2.5

  • Bugfix: HTML changes in the admin section to fit in with WordPress 3.3
  • Bugfix: The columns in the admin section don’t save, making certain columns disappear.
  • Change the name of the Role and removed one Role.

Version 3.2.4

  • Bugfix: The nonce function used by WordPress is sometime valid for less than 24 hours causing a problem with adding IP’s to the blacklist.

Version 3.2.3

  • Bugfix: Adding IP’s to the blacklist by clicking on the link in the email fails.

Version 3.2.2

  • Bugfix: Get the correct visiting IP when using CloudFlare

Version 3.2.1

  • Bugfix: Fixes undefined method after WordPress 3.2 upgrade.

Version 3.2

  • Adds Immediate Actions (on-hover links) (Ham, Spam, Blacklist and Delete) to the IP Cache Log list below the IP.
  • Adds bulk actions Ham, Spam and Blacklist to the IP Cache Log list.
  • Adds the ability to check with
  • When a spam check results in a termination of the connection, no more checks will be performed. This removes the option to receive Project Honey Pot information even when Stop Forum Spam determined the connection can be terminated.
  • When Project Honey Pot determines the visiting IP is a known search engine no further checking is done.
  • Removes the Screen layout option on the IP Cache Log page
  • RFC: Option to add IP’s to blacklist from the comments page.
  • Bugfix: Report&Delete doesn’t work on certain server configurations.
  • Bugfix: Admin javascript does not load, causing the inability to close the metaboxes.

Version 3.1.2

  • An email is send when the report to Stop Forum Spam fails.
  • Bugfix: IP is added to the cache even when the use of the IP cache is disabled.

Version 3.1.1

  • Bugfix: Can not add a site in WordPress Network setup when the plugin is active.

Version 3.1

  • New menu page: IP Cache Log. This gives the ability to manage the IP cache. This only works in WordPress 3.1 and higher.
  • Improvement on checking for spam when a comment is posted.
  • Reporting email will now say which post the spammer was trying to comment on.
  • When reporting a spammer also set the offending IP as spammer in cache.
  • Bugfix: When the visiting IP is not a public IP all the configured spam checks are performed. Private IP’s can be assumed to be safe.
  • Bugfix: The check for Stop Forum Spam is always performed even if set not to check with Stop Forum Spam.
  • Bugfix: The results of a call to Stop Forum Spam are not evaluated.

Version 3.0.5

  • Bugfix: When saving options the options would be erased.
  • Bugfix: Don’t show the Project Honey Pot API key message when the option to check with Project Honey Pot is disabled.

Version 3.0.4

  • Bugfix: When the IP cache was disabled the cache would still be checked.
  • Bugfix: Under certain server configurations, when Project Honey Pot could not be reached the IP to be checked was incorrect.
  • Use minified CSS and Javascript except when WordPress is set to debugging.
  • Adds option for localization. Translation are done through in Launchpad.

Version 3.0.3

  • Bugfix: With PHP 5.3 and up there was a problem with getting the visitors IP.

Version 3.0.2

  • The comment nonce can be activated on the General Options page in the administration section of the plugin.
  • Only show the last 12 months of spam statistics on the Overview page.

Version 3.0.1

  • Pages shown to blocked visitors will not be cached. This is compatible with caching plugins W3 Total cache and WP Super Cache. The caching caused to show the blocked page to legit visitors.
  • Removed comment nonce check due to reported problems.

Version 3.0

  • Plugin is for PHP5 only
  • RFC: Spam check is performed when a user registers.
  • Important!: When using a Honey Pot URL, change the option to be a URL only, the plugin will add the necessary HTML by default.
  • Bugfix: On pages the nonce check would fail.
  • Bugfix: Typo in window title for menu option overview
  • Bugfix: Blogname would show up as html safe text
  • Bugfix: Checking for spammers when a comment is posted did not utilize the IP cache.
  • Plugin is refactored
  • When an IP is reported to Stop Forum Spam, using Report & Delete, and IP caching is used, the IP is deleted from the cache as the IP is marked as ham in the cache.
  • When an update is available it will show the changelog on the plugin screen of WordPress

Version 2.3.2

  • Bugfix: Commenting didn’t work anymore.

Version 2.3.1

  • Stop Forum Spam is only checked when a comment is posted. All other checks are still done before content is served. The reason for this change is the amount of traffic this plugin caused at the server of Stop Forum Spam.

Version 2.3

  • Better error messages when a problem occurs with a call to Stop Forum Spam.
  • Disabled Stop Forum Spam until a better solution is created.

Version 2.2

  • Changed initial settings for email to not send E-Mail. This is better for busy sites.
  • Option for using a honey pot page by Project Honey Pot.
  • Change in IP caching system. Added the field lastseen. This field will be updated if an IP returns which was previously identified as spam. The daily cleaning of the IP cache database will use this field to determine if the record will be deleted.
  • Bugfix: Database version was never saved.
  • Bugfix: When HTP connection failed, IP was added as no-spam in cache when cache is active.
  • Bugfix: Uninstall didn’t work.
  • Bugfix: Validate admin fields.

Version 2.1.2

  • Bugfix: Settings link on plugin page was incorrect.

Version 2.1.1

  • Bugfix: Menu Option FAQ threw an error.

Version 2.1

  • Added an IP caching system.
  • Administrative layout changes.
  • Optional email can be send with information about the cron jobs of the plugin.
  • Bugfix: The default setting to terminate the connection for Project Honey Pot was unrealistic.

Version 2.0.1

  • Bugfix: The function comment_footer_die was undefined.

Version 2.0

  • RFC: Optionally check the visitor at Project Honey Pot.
  • RFC: Optionally receive error emails for failed calls to Stop Forum Spam. Error mails were always received.
  • The plugin has a separate menu page.
  • Added very simple statistics.
  • Bugfix: Check Trackbacks/Pingbacks for spammers as well.
  • Bugfix: Reporting a spammer without an email address failed. Stop Forum Spam changed their policy about reporting spammers without an email.

Version 1.3

  • Updated determination of users IP. Now also detects right IP if the server is running Apache with nginx proxy.

Version 1.2.3

  • Bugfix: HTTP Error messages didn’t work properly
  • Refactoring of some of the code.

Version 1.2.2

  • Bugfix: Trackback and Pingback comments were blocked as well

Version 1.2.1

  • Better implementation for getting the remote IP.

Version 1.2

  • Added security to protect against spammers directly posting comments by accessing wp-comments-post.php.
  • An email can be received of a spammer trying posting directly. The email holds a link to report the spammer at Stop Forum Spam ( an API key is required).
  • The black and white list can now hold ranges besides single IP addresses.
  • Some small improvements and bug fixes.

Version 1.1

  • Ability to report a spammer to Stop Forum Spam if you sign up on their website and get an API key (it’s free).
  • Added a link in the emails to add an IP to the local blacklist.
  • Bugfix: Uninstall did not work.
  • RFC: A white list was added.

Version 1.0

  • Initial version


  • RFC: Request For Change. This indicates a new or improved function requested by one or more users.


15 reviews

Rating breakdown

Details Information



First Released

18 Mar, 2009

Total Downloads


Wordpress Version

4.5 or higher

Tested up to:


Require PHP Version:





The plugin hasn't been transalated in any language other than English.


The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.