這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Invisible reCaptcha for WordPress

外掛說明

Invisible reCaptcha for WordPress 是一款功能強大的外掛,可以將 Google 的隱形 reCAPTCHA 整合至 WordPress 網站。

功能摘要

WordPress 隱形 reCAPTCHA

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

WooCommerce 隱形 reCAPTCHA

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

Contact Form 7 Invisible reCaptcha
– 使用隱形 reCAPTCHA 保護網站上由 Contact Form 7 製作的表單

Gravity Forms 隱形 reCAPTCHA
– 使用隱形 reCAPTCHA 保護網站上由 Gravity Forms 製作的表單

Ultra Community 隱形 reCAPTCHA
– 保護登入表單
– 保護註冊表單

BuddyPress 隱形 reCAPTCHA
– 使用隱形 reCAPTCHA 保護 BuddyPress 的註冊表單

相容性

WordPress 多站網路中,多站網路管理員能為整個網路啟用這個外掛,也能僅為單一網站啟用這個外掛。

使用方式及疑難排解

請查看 Invisible reCaptcha for WordPress 官方技術支援論壇

擴充隱形 reCAPTCHA

在此提供一些能協助開發者將隱形 reCAPTCHA 整合至任何外掛或自訂表單的勾點。

動作

- google_invre_render_widget_action - renders the recaptcha widget

篩選器

- 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')

隱形 reCAPTCHA 勾點使用範例

  • 在任何表單中加入隱形 reCAPTCHA

    在表單結尾標記前的任何位置插入以下程式碼:
    do_action(‘google_invre_render_widget_action’);

  • 驗證表單發佈要求

    $is_valid = apply_filters(‘google_invre_is_valid_request_filter’, true);
    if( ! $is_valid )
    {
    // 在這裡處理錯誤
    }
    else
    {
    // 撰寫網站專屬處理邏輯
    }

  • 變更服務徽章/驗證方式語言代碼

    add_filter( ‘google_invre_language_code_filter’, ‘myprefix_change_recaptcha_language’ );
    function myprefix_change_recaptcha_language($language_code){
    $language_code = ‘zh_TW’; // 台灣繁體中文
    return $language_code;
    }

檢視全部 reCaptcha 語言代碼

請注意,這個外掛需要 PHP 5.3 或更新版本才能使用。

使用者評論

2022 年 6 月 19 日 1 則留言
The plugin don't work on Wordpress 6, and make my site crash on login WordPress version 6.0 Active theme: Words Lite (version 1.0.0) Current plugin: Invisible reCaptcha (version 1.2.3) PHP version 8.0.20 The plugin give me this errror: An E_COMPILE_ERROR error was caused in line 197 of the /var/www/html/wp-content/plugins/invisible-recaptcha/includes/utils/MchIPUtils.php file. Error message: Array and string offset access syntax with curly braces is no longer supported. please fix it.
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!
2021 年 2 月 12 日
Recently I am suddenly receiving a lot of spam reactions on the blog articles, so this plugin doesn't work.
閱讀全部 132 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Invisible reCaptcha for WordPress〉的開發相關工作。

參與者

〈Invisible reCaptcha for WordPress〉外掛目前已有 13 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Invisible reCaptcha for WordPress〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.2.3

1.2.2

  • Fixed the compatibility with WPML 4.x – the multilingual WordPress plugin

1.2.1

1.2

1.1

  • Fixed PHP wrong Namespace issue
  • Fixed PHP warning when contact forms settings were saved for the first time
  • Moved Plugin Menu to Settings
  • Fixed PHP warning when contact forms settings were saved for the first time
  • Moved Plugin Menu to Settings

1.0.8

1.0.6

  • Fixed WooCommerce login and registration issue
  • Added Invisible reCaptcha for BuddyPress

1.0.5

  • Fixed Contact Form 7 issue reported by @silvercode
  • Added Invisible reCaptcha for Gravity Forms

1.0.4

  • Multisite compatible
  • Network interface ready
  • Fixed PHP7 warning

1.0.3

  • Added WordPress hooks for custom forms/plugins integrations

1.0.2

  • Added Badge Position option
  • Added Badge Custom CSS option
  • Added Language option

1.0.1

  • Fixed the Strict Standards Warning on PHP 5.4+

1.0

  • Initial release