Gab Captcha 2 plugin for WordPress

GabSoftware proudly presents its captcha plugin for the comment section of WordPress blogs, Gab Captcha 2.

Gab Captcha 2 settings

Gab Captcha 2 is an efficient and simple captcha plugin for WordPress comments.

It adds an easy turing test before each comment form. The turing test consist in typing the characters that appear emphasized and red in a text field. The plugin will add an entry in your WordPress administration area to let you configure some options.

Gab Captcha 2 currently comes in two languages: English (default) and French. You are welcome to propose your own translation or to update existing ones, especially the English one as I am not a native English speaker.

Important notes

  1. This plugin requires Javascript to be able to post a comment.
  2. This plugin can automatically approve valid comments depending on your settings.
  3. This plugin requires PHP 5 to function.

Gab Captcha 2 in action


This section describes how to install the plugin and get it working.

1. Extract and upload the directory “gabcaptcha2” and all its content to your ‘/wp-content/plugins/’ directory
2. Activate the plugin through the ‘Plugins’ menu in WordPress

Optional but recommended :
3. Change the options to fit your needs in the ‘Settings > Gab Captcha 2’ menu in your WordPress administration area
4. If you don’t want to receive an email after each spam has been catches:
4.1. Go to the ‘Settings > Discussion’ menu
4.1.1. Tick the following checkboxes:
“E-mail me whenever > Anyone posts a comment”
“Before a comment appears > An administrator must always approve the comment”
“Before a comment appears > Comment author must have a previously approved comment”
4.1.2. Uncheck the following checkbox:
“E-mail me whenever > A comment is held for moderation”
4.2. Go to the ‘Settings > Gab Captcha 2’ menu
4.2.1 Choose ‘yes’ for ‘Automatically approve comments who passed the test’

You will now receive an email only after a valid comment has been posted.


To uninstall Gab Captcha, simple deactivate the plugin then remove the gabcaptch2 directory from your ‘/wp_content/plugins’ directory.

With Gab Captcha, spam should now be a thing of the past !

You can download Gab Captcha in the downloads section.

Frequently Asked Questions

Is Gab Captcha unbeatable by spambots?

Definitely not. But it stopped all my spam as of today (getting about 100 spams every single day).

Can I change some settings for Gab Captcha 2?

Yes. Go to the ‘Settings > Gab Captcha 2’ menu in your WordPress administration area.

View Comments (59)

  • By the way, I can't tell you how great this captcha has been for simplifying comment moderation. I used to approve comments individually so my blog doesn't fill up with a bunch of spam, but that method is tedious and bad for the people who actually make real comments... people expect to see their post right after they make it.

    Not many people read my blog, it is just a little personal place to post my thought, but I was still getting at least ten spams a day.

    Since GabCaptcha, not one spam has slipped though.

    Great job man. I'll recommend this to anyone with spam problems. I tried about five other captchas before settling on yours. In my opinion, it is the best lightweight spam solution currently out.

  • I know what you mean, I was approving comments manually too before I developed Gab Captcha 2, and that was a little frustrating for the users and time-consuming for me. I get about 100 spams every single day so that was nice not to have to check which comment is from a real user.

    The spam comments that I receive are quite cleverly designed, they congratulate the blog owner so that the owner may not recognize the spam, but a link to a commercial website (generally not legal) was always included. Sometimes it was not possible to guess with the link alone. So I saved myself from a lot of hassles with Gab Captcha 2 :)

  • Haha, yeah! Clever and congratulatory spam is almost like a horoscope: Generalized, and just vague enough to be universally applicable to most blog content.

  • Greetings;

    First, thank you for sharing your wonderful code. It has helped very much with spam. However, my bots were learning to get by it, so I thought I would up it to 8 characters. When I did, it displays eight characters in red, but I can still only type in four (The field is limited to four), therefore always fails. Any ideas on what I may be doing wrong?

    Thanks; Billy

  • I have installed and activated your plugin but it doesn't show up on the comments. Did I miss something?

  • I am unable to uncheck the: Automatically approve comments who passed the test.
    When I uncheck it, at click save, the box stay checked.
    Any idea why?

  • Hi Hans,

    I confirm this behavior in my installation too. Looks like you found a bug :)

    I will fix it for the next version, that should be out tomorrow.

    Thank you for your report and your patience.


    Gabriel Hautclocq

  • I found your captcha on a different website and couldn't help myself from cracking it. D: It's a nice script for sure, but definitely easy to break as well. For any blog that's using it, I can set up a userstyle with stylish and a script with greasemonkey to hide that field as well as have it fill itself in automatically.

    That said, I'm sure it stops quite a bit of spam, since you do need to do a small workaround. Thanks for the fun for the afternoon. :D Gabriel, If you're interested in the small script I use to fill the field, let me know. I didn't even need the source code for it. D:

1 2 3 4