Shed Turnstile

Описание

Shed Turnstile provides centralized management of Cloudflare Turnstile Site Key and Secret Key, offering a shared API for compatible plugins such as Shed Form.

Features:

  • Centralized Site Key / Secret Key management
  • API functions callable from other plugins
  • Turnstile widget rendering helper
  • Server-side token verification

API Functions

  • shedturn_is_configured() — Check if keys are configured
  • shedturn_render_widget( $args ) — Return widget HTML
  • shedturn_verify_token( $token, $ip ) — Verify a Turnstile token
  • shedturn_enqueue_script() — Enqueue Cloudflare JS

日本語の説明

Shed Turnstile は Cloudflare Turnstile の Site Key / Secret Key を一元管理し、Shed Form などの対応プラグインに共通の API を提供します。

主な機能:

  • Site Key / Secret Key の一元管理
  • 他プラグインから呼び出せる API 関数
  • Turnstile ウィジェットの描画ヘルパー
  • トークンのサーバーサイド検証

Third-Party Services

This plugin connects to Cloudflare’s servers for Turnstile verification.

Скриншоты

  • Settings page — enter your Cloudflare Turnstile Site Key and Secret Key.

Установка

  1. Upload the plugin folder to /wp-content/plugins/, or install directly through the WordPress plugin screen.
  2. Activate the plugin through the ‘Plugins’ menu.
  3. Go to Settings Shed Turnstile and enter your Cloudflare Turnstile Site Key and Secret Key.
  4. Compatible plugins (e.g. Shed Form) will automatically detect and use the configured keys.

Часто задаваемые вопросы

Where do I get a Turnstile Site Key and Secret Key?

Log in to your Cloudflare dashboard, navigate to Turnstile, and create a new site. The Site Key and Secret Key will be provided.

Does this plugin work standalone?

This plugin manages Turnstile keys and provides an API. To use Turnstile on your forms, you need a compatible form plugin such as Shed Form.

Is Cloudflare Turnstile free?

Yes. Cloudflare Turnstile is a free CAPTCHA alternative service.

Отзывы

Нет отзывов об этом плагине.

Участники и разработчики

«Shed Turnstile» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Shed Turnstile» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

1.0.6

  • Fixed: Apply wp_unslash() to nonce field in admin settings save handler
  • Added: languages/shed-turnstile.pot for translation support

1.0.5

  • Fixed: Sanitize externally-supplied $ip parameter in shedturn_verify_token()
  • Fixed: Remove HTTP_CLIENT_IP trust in shedturn_get_client_ip() (spoofable header)
  • Fixed: Add is_array() guard on json_decode result
  • Added: Screenshots section to readme.txt

1.0.4

  • Added: GPL-2.0 LICENSE file
  • Added: Domain Path header
  • Fixed: i18n — all user-facing strings wrapped with __()
  • Fixed: uninstall.php now removes legacy wsf_turnstile_* options

1.0.3

  • Changed: All function, class, constant, hook, and option prefixes renamed from wst_/WST_ to shedturn_/SHEDTURN_/Shedturn_.

1.0.2

  • Changed: Plugin slug