跳至主要內容
WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

GridXFlex Captcha Security

  • 提交外掛
  • 我的最愛
  • 登入
  • 提交外掛
  • 我的最愛
  • 登入

GridXFlex Captcha Security

由 Grid X Flex 開發
下載
  • 詳細資料
  • 使用者評論
  • 安裝方式
  • 開發資訊
技術支援

外掛說明

GridXFlex Captcha Security adds a self-hosted image CAPTCHA, backed by a silent honeypot layer, to your site’s Login, Registration, Lost Password, and Comments forms.

Everything is generated on your own server using PHP’s built-in GD library. No requests are ever sent to a third-party service, no API keys are required, and no personal data is stored beyond a short-lived, one-time-use security token.

Features

  • Self-hosted image CAPTCHA (GD-generated, delivered inline as a base64 image — no extra HTTP request)
  • Silent honeypot field on every protected form, on by default
  • Per-form protection toggles: Login, Registration, Lost Password, Comments
  • Configurable character type (alphanumeric / letters / numbers), letter case, and length (3–6 characters)
  • Option to hide the comment captcha for logged-in users
  • One-time-use challenge tokens — each code can be attempted exactly once, then it’s gone
  • No PHP sessions, no cookies set by this plugin, no external requests, no tracking

Why no PHP sessions?

Older captcha plugins commonly call session_start() on every front-end request, even on pages that never show a captcha. That has a real performance cost, breaks under object-cache or load-balanced PHP-FPM pools without sticky sessions, and is incompatible with full-page caching. GridXFlex Captcha Security stores each challenge as a short-lived WordPress transient, keyed by a random token embedded in the form. The token is just a lookup key — the actual secret (a hash of the code) stays server-side — so it remains safe even on a cached page, and each challenge is deleted the instant it’s checked, pass or fail.

螢幕擷圖

Settings screen under Settings → GridXFlex Captcha.
Settings screen under Settings → GridXFlex Captcha.
The image CAPTCHA as it appears on the login form.
The image CAPTCHA as it appears on the login form.

安裝方式

  1. Upload the gridxflex-captcha-security folder to /wp-content/plugins/.
  2. Activate the plugin through the “Plugins” screen in WordPress.
  3. Go to Settings → GridXFlex Captcha to choose which forms are protected and adjust the captcha’s appearance.

常見問題集

Does this plugin transmit any data externally?

No. Code generation, image rendering, and verification all happen on your own server using PHP’s built-in GD library. Nothing is sent to any third-party API or service.

Why doesn’t this use PHP sessions?

For compatibility with page caching and load-balanced hosting. Instead of $_SESSION, each challenge is stored as a short-lived WordPress transient keyed by a random token embedded in the form. This works identically behind full-page cache and across load-balanced PHP-FPM pools without sticky sessions, and every challenge is automatically deleted after a single use.

What is the honeypot layer?

A hidden form field that’s invisible to human visitors but often auto-filled by simple bots. If it’s filled in, the submission is rejected the same way a wrong CAPTCHA code would be — no separate “bot detected” message is ever shown, so automated scripts can’t learn which check they failed.

Does this require an API key?

No. This version doesn’t use any third-party CAPTCHA provider.

Does the plugin work if my host doesn’t have the GD PHP extension?

Yes. If GD isn’t available, the image challenge is automatically skipped — protected forms keep working normally, they just fall back to honeypot-only protection instead of erroring out. You’ll see an admin notice explaining this; it clears itself automatically as soon as GD is enabled, no need to reactivate the plugin.

Does the captcha add any visible branding to my site?

An HTML comment — <!-- Powered By GridXFlex WordPress Plugins --> — is placed next to the captcha markup wherever it renders (login, registration, lost password, comments). It isn’t visible in the page as displayed, only in page source.

What happens if someone gets the comment captcha wrong?

They’re redirected back to the same post with an inline error message, and their typed name, email, URL, and comment text are restored — nothing is lost and they don’t leave the page. Login, Registration, and Lost Password show their errors the same way, inline on the same page, using WordPress core’s own error-display mechanism for those forms.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈GridXFlex Captcha Security〉的開發相關工作。

參與者
  • Grid X Flex

將〈GridXFlex Captcha Security〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0.0

  • Initial release: image CAPTCHA + honeypot for Login, Registration, Lost Password, and Comments forms.
  • Graceful fallback when the GD extension is unavailable: protected forms keep working via the honeypot layer alone instead of erroring; the admin notice re-checks live and clears itself once GD is enabled, no reactivation needed.

中繼資料

  • 版本 1.0.0
  • 最後更新 3 天前
  • 啟用安裝數 少於 10 次
  • WordPress 版本需求 5.7 或更新版本
  • 已測試相容的 WordPress 版本 7.1
  • PHP 版本需求 7.4 或更新版本
  • 語言
    English (US)
  • 標籤:
    captchacommentsloginsecurityspam
  • 進階檢視

評分

這個項目尚無任何評論記錄。

撰寫評分

查看全部使用者評論

參與者

  • Grid X Flex

技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

檢視技術支援論壇

  • 關於我們
  • 最新消息
  • 主機代管
  • 隱私權
  • 展示網站
  • 佈景主題目錄
  • 外掛目錄
  • 區塊版面配置目錄
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • 活動
  • 贊助基金會 ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Taiwan 正體中文

  • 查看我們的 X (之前的 Twitter) 帳號
  • 造訪我們的 Bluesky 帳號
  • 造訪我們的 Mastodon 帳號
  • 造訪我們的 Threads 帳號
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • 造訪我們的 TikTok 帳號
  • Visit our YouTube channel
  • 造訪我們的 Tumblr 帳號
程式碼,如詩
The WordPress® trademark is the intellectual property of the WordPress Foundation.