Shed Turnstile

Beschrijving

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.

Schermafbeeldingen

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

Installatie

  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.

FAQ

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.

Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

Bijdragers & ontwikkelaars

“Shed Turnstile” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

Vertaal “Shed Turnstile” in je eigen taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

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