Invisible reCaptcha

説明

Invisible reCaptcha for WordPress は、新しい Invisible reCaptcha by Google と貴方の WordPress サイトを統合する非常に強力なプラグインです。

Notice: As of version 1.3.0, this plugin is now maintained by @berrypress.

External service disclosure

This plugin is designed to integrate reCAPTCHA by Google into your site, which is an external third-party service used to implement security and fraud prevention measures. The plugin may communicate with the reCAPTCHA service via API and/or by loading assets on your site’s frontend, resulting in data transfer with the reCAPTCHA service when the site frontend is accessed and/or when reCAPTCHA validation is triggered by to user actions. In addition to authentication and operational data such as API keys and reCAPTCHA identifiers, the service may receive information from your and your users’ browser and network, such as their IP address, user agent, etc.

Use of the reCAPTCHA service is subject to the Google Cloud Terms of Service, Service Specific Terms, Google Privacy Policy, and the Cloud Data Processing Addendum.

This plugin is not affiliated with or endorsed by Google.

特徴の要約

WordPress Invisible reCaptcha

- Login form protection - annihilates Brute Force attacks
- Registration form protection
- Comments form protection
- Forgot Password form protection

WooCommerce Invisible reCaptcha

- Login form protection
- Registration form protection
- Product Review form protection
- Lost Password form protection
- Reset Password form protection

Contact Form 7 Invisible reCaptcha
– あなたの Contact Form 7 入力フォームを Invisible reCaptcha で保護する

Gravity Forms Invisible reCaptcha
– あなたの Gravity 入力フォームを Invisible reCaptcha で保護する

Ultra Community Invisible reCaptcha
– ログインフォームの保護
– 登録フォームの保護

BuddyPress Invisible reCaptcha
– あなたの BuddyPress 登録フォームを Invisible reCaptcha で保護する

互換性

WP Multisite について、このプラグインをネットワーク全体または単一のサイトで有効にすることができます。

How-To

Check out the Invisible reCAPTCHA v2 Guide: https://developers.google.com/recaptcha/docs/invisible

  1. Create a reCAPTCHA v2 site using the Invisible reCAPTCHA badge option: https://www.google.com/recaptcha/admin/create
  2. Copy the Site Key and Secret Key from the Google reCAPTCHA admin console.
  3. In WordPress, go to Settings > Invisible reCaptcha > Settings.
  4. Enter your Site Key and Secret Key.
  5. Save the settings.
  6. In the settings, choose which forms should be protected by reCAPTCHA.
  7. Visit a page containing a protected form and verify that the reCAPTCHA badge is displayed and that form submissions are working correctly.

Invisible reCaptcha を拡張する

Invisible reCaptcha とあらゆるプラグインや個別の入力様式を統合する開発者の助けになる役立つ手掛かりをいくつか用意しました。

Actions アクション

- google_invre_render_widget_action - renders the recaptcha widget

Filters フィルター

- google_invre_is_valid_request_filter   - used to check if Google approved the request (returns bool true/false)
- google_invre_widget_output_html_filter - used to change the recaptcha widget output
- google_invre_language_code_filter      - used to change the badge/challenge language code
- google_invre_badge_position_filter     - used to change the badge position (possible returning values are: 'bottomright', 'bottomleft', 'inline')
- google_invre_ajax_submit_classnames    - used to change the CSS class names of submit buttons that trigger reCaptcha on AJAX forms (default: array('wpcf7-submit', 'invisible-recaptcha-do-submit'))
- google_invre_is_gf_excluded            - used to exclude a Gravity Forms form from protection (receives bool $is_excluded and int $form_id)

Constants (wp-config.php)

- INVISIBLE_RECAPTCHA_OVERRIDE - define as true to treat every request as valid (e.g. automated tests, staging) or as false to treat every request as invalid. Leave undefined for normal behavior.

Invisible reCaptcha 手掛かりを使用した例

  • Invisible reCaptcha を任意のフォームに追加する

    Just call
    do_action(‘google_invre_render_widget_action’);
    anywhere before form closing tag

  • 投稿リクエスト時にフォームの内容を検証する

    $is_valid = apply_filters(‘google_invre_is_valid_request_filter’, true);
    if( ! $is_valid )
    {
    // handle error here
    }
    else
    {
    // continue with your logic
    }

  • バッジ/チャレンジ言語コードを変更する

    add_filter( ‘google_invre_language_code_filter’, ‘myprefix_change_recaptcha_language’ );
    function myprefix_change_recaptcha_language($language_code){
    $language_code = ‘fr’; // French
    return $language_code;
    }

reCaptcha 言語コードをすべて表示

Note: This plugin requires PHP 7.1 or higher to be activated.

評価

2025年10月31日
Our site was created in 2020 and it's been a while since it was maintained. Now when we login, the reCaptcha appears but with no field to enter or mark the captcha in, thus causing failed logins.
2023年6月21日
<p>We use v2 recaptcha code + this plugin on a "all" of our sites with gravity forms. Unfortunately we have GF on the home page (for capturing leads) where this loads and it adds a bunch of bloat (granted from google). It would be nice if there was a way to optimize this so it didn't load an additional 20-25 requests. </p> <p>Pros: drops spam considerably with gravity forms. Easy to implement.<br> Cons: slows your pagespeed scores down, can't defer JS otherwise it may not work. Adds about 20 or more resources from google just to enable recaptcha v2.</p> <!– wp:paragraph –> <p>UPDATE – invisible captcha has not worked for a very long time. I don't believe it's a plugin issue, it's just the captcha service does not really work anymore. Bots have figured a way around this.</p> <!– /wp:paragraph –>
2021年3月23日
Thanks to this plugin not having been tested with the last 3 major WordPress updates, it managed to break my CF7 forms and Google Analytics form submission tracking from one day to the other. It looks like this plugin was abandoned, so I strongly advise against installing it. Unreliable!
133件のレビューをすべて表示

貢献者と開発者

Invisible reCaptcha はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Invisible reCaptcha” は16ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Invisible reCaptcha” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログを RSS で購読してみてください。

変更履歴

1.3.2

  • Fixed conflict with two-factor authentication plugins (Wordfence, Two Factor and others): the second step of the login no longer requires a new reCAPTCHA token. A short-lived hash tied to the user is issued once reCAPTCHA has passed.
  • Added support for wp_login_form() via the login_form_bottom filter.
  • Added the INVISIBLE_RECAPTCHA_OVERRIDE constant to force the validation result from wp-config.php.
  • Added the google_invre_ajax_submit_classnames filter to customize the submit button class names used for AJAX forms.
  • Contact Form 7 and Gravity Forms: reCAPTCHA is now placed at the bottom of the form, and an existing spam verdict is no longer overridden by a valid token.
  • WooCommerce: earlier validation errors on login, registration and password reset are no longer overridden.
  • Fixed the reCAPTCHA widget being rendered for the wrong form when forms are nested.
  • Fixed a fatal error (infinite recursion) when Contact Form 7 protection was enabled.
  • Fixed Undefined property: WP_Error::$ID warnings when a login was rejected.
  • PHP 8.x: removed the spl_autoload_register() deprecation notices and the dynamic property deprecations.
  • Fixed a possible TypeError on the settings page when no page object is available.
  • Minimum supported PHP version is now 7.1.
  • Updated “Tested up to” to WordPress 7.1.

1.3.1

  • Removed inactive WooCommerce checkout protection code (commit details).
  • Removed unused licensing and external module-loading infrastructure.
  • Declared PHP 7.0 as the minimum supported PHP version.
  • Updated WordPress compatibility metadata.
  • Added a link to the Google Privacy Policy to the external service disclosure.
  • Corrected the setup documentation to specify Invisible reCAPTCHA v2.

1.3.0

  • PHP 8 compatibility
  • Removed the custom CSS feature

1.2.3

1.2.2

  • WPML 4.x – 多言語 WordPress プラグインとの互換性を修正した

1.2.1

1.2

1.1

  • PHP の誤った Namespace 事案を修正した
  • 初めてコンタクトフォーム設定を保存したときのPHP 警告を修正した
  • プラグインメニューを設定に移動した
  • 初めてコンタクトフォーム設定を保存したときのPHP 警告を修正した
  • プラグインメニューを設定に移動した

1.0.8

1.0.6

  • WooCommerce ログインと登録の事案を修正した
  • BuddyPress 向けの Invisible reCaptcha を追加した

1.0.5

  • @silvercode で報告された Contact Form 7 事案を修正した
  • Invisible reCaptcha を Gravity Forms に追加する

1.0.4

  • マルチサイト互換
  • ネットワーク インターフェース 準備
  • PHP7 警告を修正した

1.0.3

  • カスタム入力フォーム/プラグイン統合のための WordPress 手掛かりを追加した

1.0.2

  • バッジの位置オプションを追加した
  • バッジ カスタム CSS オプションを追加
  • 言語オプションを追加した

1.0.1

  • PHP 5.4+ に関する厳しい標準警告を修正した。

1.0

  • 初回リリース