Beskrivelse
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 configuredshedturn_render_widget( $args )— Return widget HTMLshedturn_verify_token( $token, $ip )— Verify a Turnstile tokenshedturn_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.
- Service: Cloudflare Turnstile
- Privacy Policy: https://www.cloudflare.com/privacypolicy/
- Terms of Service: https://www.cloudflare.com/website-terms/
- Data sent: Turnstile token, site key, user IP address
- When: Each time a form with Turnstile enabled is submitted
Installation
- Upload the plugin folder to
/wp-content/plugins/, or install directly through the WordPress plugin screen. - Activate the plugin through the ‘Plugins’ menu.
- Go to Settings Shed Turnstile and enter your Cloudflare Turnstile Site Key and Secret Key.
- 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.
Anmeldelser
Der er ingen anmeldelser for denne widget.
Bidragsydere & udviklere
“Shed Turnstile” er open source-software. Følgende personer har bidraget til dette plugin.
BidragsydereOversæt “Shed Turnstile” til dit eget sprog.
Interesseret i udvikling?
Gennemse koden, tjek SVN repository, eller abonner på udviklerloggen via RSS.
Ændringslog
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

