Simple Google reCAPTCHA

Beskrivning

Simple Google reCAPTCHA will protect your WordPress! You have choice between default v2 Checkbox and v3 (like invisible reCAPTCHA).

No more spam comments and brute-force attacks against user accounts. Small plugin, only necessary code – no ads or tracking!

Google reCAPTCHA verification will be required only for not logged in users.

User, who newly setup the keys, will see (max for 10 days) emergency reCAPTCHA deactivate link – don’t need FTP access to disable Simple Google reCAPTCHA in case of emergency now.

Vad skyddas med reCAPTCHA?

  • Inloggningsformulär
  • Registreringsformulär
  • Lösenordsformulär för återställning
  • Kommentarsformulär
  • Nytt lösenordsformulär

Tack!

Thanks all of you, who are using this plugin, I really appreciate it!

If you write me (on support forum etc.), be patient, please. I work on this plugin in my free time, it’s only my hobby.

Skärmdumpar

  • New comment
  • New password
  • Registration
  • Login
  • Settings
  • reCAPTCHA v3 text instead of badge
  • Emergency reCAPTCHA deactivate link

Installation

  1. Upload plugin folder under standard plugins directory ”/wp-content/plugins/” or install through the WordPress Plugins page.
  2. Activate plugin via WordPress Plugins page.
  3. Insert reCAPTCHA v3 or v2 Checkbox keys.
  4. Done, your WordPress is protected now!

Vanliga frågor

Varför installerar du detta tillägg?

  • No ads, user tracking, send statistics neither survey
  • Only arround 20kB size (without readme file)
  • Google reCAPTCHA v3 (invisible) support
  • Possibility to replace v3 reCAPTCHA badge by text
  • reCAPTCHA language based on WordPress settings
  • Works in countries where Google domain is blocked
  • Emergency reCAPTCHA deactivate link for admin
  • Hooks – Possibility to customize where reCAPTCHA will be rendered and verified

In case you have a problem

  1. Important message could be shown in browser console (F12) on problematic page
  2. Double check if you have correct keys in settings – is those keys for correct version reCAPTCHA?
  3. Try to create new website in Google reCAPTCHA console (and use different website name)

Hur inaktiverar du detta tillägg?

Use standard WordPress Plugins page. In emergency case, rename plugin folder under /wp-content/plugins/ over FTP access or use emergency reCAPTCHA deactivate link.

How to use hooks?

For example, you can use this in your global functions.php file:

function customSgrRenderList(array $list): array //Where reCAPTCHA is rendered
{
    //unset($list[0]);
    $list[] = 'register_form';

    return $list;
}

add_action('sgr_render_list', 'customSgrRenderList');

function customSgrVerifyList(array $list): array //Where reCAPTCHA is verified
{
    //unset($list[0]);
    $list[] = 'lostpassword_post';

    return $list;
}

add_action('sgr_verify_list', 'customSgrVerifyList');

Variable $list is array of default hooks, indexed by numbers.

Recensioner

12 december 2022
When I try to post a comment, I got this error : Google reCAPTCHA vérification échouée. Le paramètre de réponse est non valide ou malformé. (I use recaptchaV3)
20 november 2022
After installing this plugin, the limit logins spikes up. I'm not 100% sure of this, but I've noticed it on several webistes I edit. Maybe something to look into. As plugin itself, it is ok, but something not right realted to spikes in fake logins.
10 november 2022 1 svar
I need to donate a few dollars to this guy. I don't normally comment on plugins unless they just stand out. reCAPTCHA plugins should be simple and this one is. It's rare to see plugins that just do what they are supposed to without adding all this extra crap to them so they can vomit wordpress notifications at you to buy something with pro to the end of the name. To be honest, do I really need a plugin to add reCAPTCHA to my site? NO, but clients appreciate it. The less code or scripts I have to explain the better. This is one of my favorite apps. If I ever get more spare time I'd love to help this developer continue this project into the future. Thank you Michal Novák maintaining this plugin.
28 september 2022 1 svar
This ReCaptcha is the most straightforward I have ever seen. It would be great if I could set the link in the note open in a new tab. I mean this --> This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Currently it is open in the same tab which I don't wish to.
18 augusti 2022 1 svar
What can i say it was easy to use straight forward - easy to use instructions i checked right away and it was up and running on my posts
Läs alla 54 betyg

Bidragsgivare och utvecklare

”Simple Google reCAPTCHA” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

”Simple Google reCAPTCHA” har översatts till 18 språk. Tack till översättarna för deras bidrag.

Översätt ”Simple Google reCAPTCHA” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

4.0

  • Warning: I don’t recommend Google reCAPTCHA v2. You should enable v3 in plugin settings (requires different keys)!
  • New: Hooks – sgr_render_list + sgr_verify_list. You are able to customize where Google reCAPTCHA will be rendered and verified – e.g. via functions.php.

3.9

  • Bugfix: reCAPTCHA verification has been rewritten. More reliable and prevents brute force attacks now.

3.8

  • Bugfix: Fix against rare error ’The response is no longer valid: either is too old or has been used previously.’ for reCAPTCHA v3
  • New: Class converted to singleton – for possibility to use Simple Google reCAPTCHA in custom hooks

3.7

  • Bugfix: Important! Everybody who has version 3.6 should update as soon as possible! Fixed a bug with disappearing site&secret key.

3.6

  • New: Emergency reCAPTCHA deactivate link

3.5

  • Bugfix: More reliable reCAPTCHA injection (init action)
  • New: Dynamic action name to see stats in Google reCAPTCHA admin console for each page

3.4

  • Bugfix: Translations works again correctly
  • New: Works in countries where Google domain is blocked
  • New: Possibility to replace v3 reCAPTCHA badge by text

3.3

  • Bugfix: BuddyPress registration is now pass through
  • Bugfix: Other minor fixes

3.2

  • Warning: Keys validation after save was not reliable, validation removed
  • New: Added support for Google reCAPTCHA v3

3.1

  • New: Keys validation after save
  • New: More detailed error messages
  • New: Plugin is disabled until you set correct keys

3.0

  • Bugfix: User login (including password in plaintext) could get into server error log in specific case.

2.9

  • Nytt: Alternativ för inaktivera reCAPTCHA på inloggningssida
  • New: Error message instead of redirecting to the error page, besides the case of posting comments
  • Bugfix: Loading Js file on unique HTML element to avoid collision

2.8

  • Varning: Ny logik – Google reCAPTCHA js-filen laddas i bakgrunden på varje sida för användare som inte är inloggad
  • Varning: Om Google reCAPTCHA-verifiering misslyckas är svarskoden nu 403 istället för 500. Tack för ditt bidrag, Sara Kozińska!
  • Bugfix: WooCommerce problem (JSON.parse error) in checkout process has been fixed. I’m sorry for a really big delay!

2.7

  • Bugfix: Loading of Google reCAPTCHA form failed in some rare cases

2.6

  • Bugfix: Fatal error on websites running on PHP 5

2.5

  • Warning: Removed javascript function which disabling/enabling submit button If reCAPTCHA was passed, because of incompatibility with some websites in specific cases
  • Bugfix: WooCommerce – If you have activated login and register form on one page, reCAPTCHA verification is require too for register
  • New: Added uninstall script which clean settings from DB while uninstall process
  • Nytt: Om du aktiverar tillägget och webbplats eller hemlig nyckel är tom, kommer du att omdirigera till inställningssidan

2.4

  • Nytt: reCAPTCHA-verifiering läggs till på varje sida som tillåter kommentarer (stör inte registrerade användare)

2.3

  • Nytt: Lagt till länk för att donera, du kan köpa mig en kaffe nu 🙂
  • Bugfix: Plugin warnings on php7 – not quoted functions name

2.2

  • Varning: Möjligheten att bestämma när reCAPTCHA ska visas är borttaget (stör inte registrerade användare)
  • Nytt: Inkluderat stöd för BuddyPress och WooCommerce
  • Bugfix: Incompatibility with translations

2.1

  • Bugfix: No more unnecessary loading reCAPTCHA on the other pages
  • Bugfix: No more reCAPTCHA window over Clef waves (if you are using Clef plugin) on the login page

2.0

  • Warning: reCAPTCHA verification on the BuddyPress registration page has been removed
  • Warning: reCAPTCHA verification on the Add new comment form for logged in users has been removed
  • Warning: Due to keep Simple Google reCAPTCHA as simple as possible some configuration options were removed
  • New: Language settings of reCAPTCHA is based on WordPress locale now
  • New: Default WordPress submit buttons are disabled until reCAPTCHA isn’t solved
  • New: Added reCAPTCHA for Resset password form
  • Uppdaterat: Textkorrigeringar
  • Bugfix: reCAPTCHA verification just on the standard WordPress pages (unmodified by plugins/templates)

1.9

  • Varning: Förmodligen behöver du göra en ny översättning
  • Nytt: Möjlighet att ange språk för reCAPTCHA
  • Update: Minor updates for easier official translations

1.8

  • Nytt: reCAPTCHA-verifiering på BuddyPress-registreringssida
  • Bugfix: Translatable back button ”Zpět”

1.7

  • Nytt: Du kan välja var reCAPTCHA kommer att krävas
  • Bugfix: reCAPTCHA will be required only If a form has been submitted

1.6

  • Bugfix: Name of settings has been changed – to avoid conflict with other plugins

1.5

  • Nytt: Möjlighet att inaktivera reCAPTCHA i kommentarformulär för inloggade användare

1.4

  • Update: Encoding has been converted from Windows to Unix
  • Uppdaterat: Textkorrigeringar

1.3

  • New: Added ”Settings” button to WordPress plugins page
  • Nytt: reCAPTCHA krävs endast efter att ha fyllt i inställningar
  • Update: Text domain has been changed from simple-google-recaptcha to sgr – need to set up keys again

1.2

  • Update: Simple Google reCAPTCHA folder – unnecessary files were deleted

1.1

  • Uppdaterat: Skärmdumpar
  • Uppdaterat: Textkorrigeringar
  • Bugfix: Logged in users are able to post comments

1.0

  • New: Simple Google reCAPTCHA has been released!