Title: LH Zero Spam
Author: shawfactor
Published: <strong>14 juillet 2015</strong>
Last modified: 14 octobre 2022

---

Recherche d’extensions

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

Cette extension **n’a pas été testée avec plus de trois mises à jour majeures de
WordPress**. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes
de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

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

# LH Zero Spam

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

[Télécharger](https://downloads.wordpress.org/plugin/lh-zero-spam.zip)

 * [Détails](https://fr.wordpress.org/plugins/lh-zero-spam/#description)
 * [Avis](https://fr.wordpress.org/plugins/lh-zero-spam/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/lh-zero-spam/#installation)
 * [Développement](https://fr.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://fr.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/)

## Avis

![](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 juillet
2021 1 réponse

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 septembre 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 février 2017

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

 [ Lire les 4 avis ](https://wordpress.org/support/plugin/lh-zero-spam/reviews/)

## Contributeurs/contributrices & développeurs/développeuses

« LH Zero Spam » est un logiciel libre. Les personnes suivantes ont contribué à 
cette extension.

Contributeurs

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

[Traduisez « LH Zero Spam » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/lh-zero-spam)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/lh-zero-spam/), consulter
le [SVN dépôt](https://plugins.svn.wordpress.org/lh-zero-spam/), ou s’inscrire au
[journal de développement](https://plugins.trac.wordpress.org/log/lh-zero-spam/)
par [RSS](https://plugins.trac.wordpress.org/log/lh-zero-spam/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

#### 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

## Méta

 *  Version **1.13**
 *  Dernière mise à jour **il y a 4 ans**
 *  Installations actives **100+**
 *  Version de WordPress ** 4.0 ou plus **
 *  Testé jusqu’à **6.0.18**
 *  Version de PHP ** 7.0 ou plus **
 *  Langue
 * [English (US)](https://wordpress.org/plugins/lh-zero-spam/)
 * Étiquettes
 * [anti-spam](https://fr.wordpress.org/plugins/tags/anti-spam/)[antispam](https://fr.wordpress.org/plugins/tags/antispam/)
   [comment spam](https://fr.wordpress.org/plugins/tags/comment-spam/)[comments](https://fr.wordpress.org/plugins/tags/comments/)
   [spam](https://fr.wordpress.org/plugins/tags/spam/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/lh-zero-spam/advanced/)

## Évaluations

 5 sur 5 étoiles.

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

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

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

## Contributeurs

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

## Support

Quelque chose à dire ? Besoin d’aide ?

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

## Faire un don

Souhaitez-vous soutenir l’avancement de cette extension ?

 [ Faire un don à cette extension ](https://lhero.org/portfolio/lh-zero-spam/)