Title: LH Zero Spam
Author: shawfactor
Published: <strong>14. juli, 2015</strong>
Last modified: 14. oktober, 2022

---

Søg plugins

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

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

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

# LH Zero Spam

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

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

 * [Detaljer](https://da.wordpress.org/plugins/lh-zero-spam/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/lh-zero-spam/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/lh-zero-spam/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/lh-zero-spam/#developers)

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

## Beskrivelse

**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://da.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/)

## Anmeldelser

![](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. juli,
2021 1 svar

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. september, 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. februar, 2017

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

 [ Læs alle 4 anmeldelser ](https://wordpress.org/support/plugin/lh-zero-spam/reviews/)

## Bidragsydere & udviklere

“LH Zero Spam” er open source-software. Følgende personer har bidraget til dette
plugin.

Bidragsydere

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

[Oversæt “LH Zero Spam” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/lh-zero-spam)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/lh-zero-spam/), tjek
[SVN repository](https://plugins.svn.wordpress.org/lh-zero-spam/), eller abonner
på [udviklerloggen](https://plugins.trac.wordpress.org/log/lh-zero-spam/) via [RSS](https://plugins.trac.wordpress.org/log/lh-zero-spam/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 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**
 *  Senest opdateret **4 år siden**
 *  Aktive installationer **100+**
 *  WordPress-version ** 4.0 eller højere **
 *  Testet op til **6.0.18**
 *  PHP-version ** 7.0 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/lh-zero-spam/)
 * Tags
 * [anti-spam](https://da.wordpress.org/plugins/tags/anti-spam/)[antispam](https://da.wordpress.org/plugins/tags/antispam/)
   [comment spam](https://da.wordpress.org/plugins/tags/comment-spam/)[comments](https://da.wordpress.org/plugins/tags/comments/)
   [spam](https://da.wordpress.org/plugins/tags/spam/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/lh-zero-spam/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

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

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

[Se alle anmeldelser](https://wordpress.org/support/plugin/lh-zero-spam/reviews/)

## Bidragsydere

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

## Support

Har du noget at sige? Har du brug for hjælp?

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

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](https://lhero.org/portfolio/lh-zero-spam/)