Title: LH Zero Spam
Author: shawfactor
Published: <strong>ଜୁଲାଈ 14, 2015</strong>
Last modified: ଅକ୍ଟୋବର 14, 2022

---

Search plugins

![](https://ps.w.org/lh-zero-spam/assets/banner-772x250.jpg?rev=1339429)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/lh-zero-spam/assets/icon-256x256.png?rev=2763876)

# LH Zero Spam

 By [shawfactor](https://profiles.wordpress.org/shawfactor/)

[Download](https://downloads.wordpress.org/plugin/lh-zero-spam.zip)

 * [Details](https://ory.wordpress.org/plugins/lh-zero-spam/#description)
 * [Reviews](https://ory.wordpress.org/plugins/lh-zero-spam/#reviews)
 *  [Installation](https://ory.wordpress.org/plugins/lh-zero-spam/#installation)
 * [Development](https://ory.wordpress.org/plugins/lh-zero-spam/#developers)

 [Support](https://wordpress.org/support/plugin/lh-zero-spam/)

## Description

**Why should your users prove that they’re humans by filling out captchas? Let bots
prove they’re not bots with the [LH Zero Spam plugin](http://lhero.org/plugins/lh-zero-spam/).**

LH Zero Spam blocks registration spam and spam in comments automatically without
any config or setup. Zero Spam was initially built based on the work by [David Walsh](http://davidwalsh.name/wordpress-comment-spam),
but enhanced with simpler code base and unobtrusive JavaScript.

Major features in LH Zero Spam include:

 * **No captcha**, because spam is not users’ problem
 * **No moderation queues**, because spam is not administrators’ problem
 * **Blocks spam registrations & comments** with the use of JavaScript
 * **Blocks buddypress spam registrations** with the use of JavaScript
 * **Blocks woocommerce spam orders** with the use of JavaScript

**Like this plugin? Please consider [leaving a 5-star review](https://wordpress.org/support/view/plugin-reviews/lh-zero-spam/).**

**Love this plugin or want to help the LocalHero Project? Please consider [making a donation](https://lhero.org/portfolio/lh-zero-spam/).**

## Installation

 1. Upload the `lh-zero-spam` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## FAQ

### Is JavaScript required for this plugin to work?

Yes, that’s what does the magic and keeps spam bots out.

### I keep getting ‘There was a problem processing your comment.’

Be sure JavaScript is enabled and there are no JS errors.

### Does this work with multisite?’

Yes it protects from spam wp-register registrations.

### Does this work with Buddypress?’

Yes as of version 1.08 this will protect from Buddypress registrations. Note is 
requires the bp_before_account_details_fields hook, must reputable themes include
this hook.

### Does this work with Woocommerce?’

Yes as of version 1.10 this will protect from Woocommerce spam order registrations.

### What is something does not work?

LH Zero Spam, and all [https://lhero.org](https://ory.wordpress.org/plugins/lh-zero-spam/LocalHero?output_format=md)
plugins are made to WordPress standards. Therefore they should work with all well
coded plugins and themes. However not all plugins and themes are well coded (and
this includes many popular ones).

If something does not work properly, firstly deactivate ALL other plugins and switch
to one of the themes that come with core, e.g. twentyfifteen, twentysixteen etc.

If the problem persists please leave a post in the support forum: [https://wordpress.org/support/plugin/lh-zero-spam/](https://wordpress.org/support/plugin/lh-zero-spam/).
I look there regularly and resolve most queries.

### What if I need a feature that is not in the plugin?

Please contact me for custom work and enhancements here: [https://shawfactor.com/contact/](https://shawfactor.com/contact/)

## Reviews

![](https://secure.gravatar.com/avatar/d151d1d91e34373d2a7cdffb08f42d78224fa0164c7ff60b5f8ff444fcf7e679?
s=60&d=retro&r=g)

### 󠀁[Works Well. Thanks](https://wordpress.org/support/topic/works-well-thanks-19/)󠁿

 [Anonymous User 652281](https://profiles.wordpress.org/anonymized-652281/) ଜୁଲାଈ
7, 2021 1 reply

Thanks Peter for making and maintaining this. Another plugin removed the David Walsh
approach and I got client complaints so I’m really pleased to see this. This works
on the default contact form for Beaver Builder too.

![](https://secure.gravatar.com/avatar/6f0c5bb3659a884e78687e7a1d9f51fb4e31aa49ed62b6c1c1b1a4c60ebdf761?
s=60&d=retro&r=g)

### 󠀁[Best AntiSpam Plugin](https://wordpress.org/support/topic/best-antispam-plugin-4/)󠁿

 [Tahir Taous](https://profiles.wordpress.org/tahirtaous/) ସେପ୍ଟେମ୍ବର 17, 2016

I was using Akismet but Akismet failed to stop spam, I was getting a lot of spam
comments on daily basis. Few month ago, I installed this free plugin and there isn’t
any spam comment since then. This one is a must have plugin for bloggers.

![](https://secure.gravatar.com/avatar/b386c3be63ad40515532f06f0a3f8fc3c5a9c760da75708f03eff64f35cd66d4?
s=60&d=retro&r=g)

### 󠀁[Ben Marshalls commenty is unhelpful](https://wordpress.org/support/topic/ben-marshalls-commenty-is-unhelpful/)󠁿

 [shawfactor](https://profiles.wordpress.org/shawfactor/) ଫେବୃୟାରୀ 8, 2017

The plugin itself works perfectly and if you like lightweight unobtrusive solutions
it is the way to go

 [ Read all 4 reviews ](https://wordpress.org/support/plugin/lh-zero-spam/reviews/)

## Contributors & Developers

“LH Zero Spam” is open source software. The following people have contributed to
this plugin.

Contributors

 *   [ shawfactor ](https://profiles.wordpress.org/shawfactor/)

[Translate “LH Zero Spam” into your language.](https://translate.wordpress.org/projects/wp-plugins/lh-zero-spam)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/lh-zero-spam/), check
out the [SVN repository](https://plugins.svn.wordpress.org/lh-zero-spam/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/lh-zero-spam/) by
[RSS](https://plugins.trac.wordpress.org/log/lh-zero-spam/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * Initial release

#### 1.01

 * Code Improvement

#### 1.02

 * Better documentation

**1.03 January 28, 2017*
 Rest api support.

**1.04 January 30, 2017*
 xmlrpc support.

**1.05 July 25, 2017*
 class check.

**1.06 September 20, 2017*
 Comment_form backup

**1.07 September 20, 2017*
 Added minimum version of php

**1.08 September 24, 2017*
 Added buddypress support

**1.09 December 17, 2017*
 filemtime for load_file

**1.10 May 17, 2019*
 anonymous function for javascript nonce handling

**1.11 July 28, 2022*
 user wp die where possible

**1.12 October 13, 2022*
 minor buf fix

**1.13 October 13, 2022*
 minor enhancement

## Meta

 *  Version **1.13**
 *  Last updated **4 years ago**
 *  Active installations **200+**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **6.0.11**
 *  PHP version ** 7.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/lh-zero-spam/)
 * Tags
 * [anti-spam](https://ory.wordpress.org/plugins/tags/anti-spam/)[antispam](https://ory.wordpress.org/plugins/tags/antispam/)
   [comment spam](https://ory.wordpress.org/plugins/tags/comment-spam/)[comments](https://ory.wordpress.org/plugins/tags/comments/)
   [spam](https://ory.wordpress.org/plugins/tags/spam/)
 *  [Advanced View](https://ory.wordpress.org/plugins/lh-zero-spam/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/lh-zero-spam/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/lh-zero-spam/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/lh-zero-spam/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/lh-zero-spam/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/lh-zero-spam/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/lh-zero-spam/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/lh-zero-spam/reviews/)

## Contributors

 *   [ shawfactor ](https://profiles.wordpress.org/shawfactor/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/lh-zero-spam/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://lhero.org/portfolio/lh-zero-spam/)