From 8b46bde6fcfe7fea473938e86e3406499cd6f7a2 Mon Sep 17 00:00:00 2001 From: Jon Waldstein Date: Tue, 29 Oct 2024 14:17:36 -0400 Subject: [PATCH] chore: update readme --- give-cloudflare-turnstile.php | 2 +- readme.txt | 10 +++------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/give-cloudflare-turnstile.php b/give-cloudflare-turnstile.php index 3522218..1674ff2 100644 --- a/give-cloudflare-turnstile.php +++ b/give-cloudflare-turnstile.php @@ -42,7 +42,7 @@ // Register the add-on service provider with the GiveWP core. add_action( 'before_give_init', - function () { + static function () { // Check Give min required version. if (Environment::giveMinRequiredVersionCheck()) { give()->registerServiceProvider(GiveCloudflareTurnstile\Addon\ServiceProvider::class); diff --git a/readme.txt b/readme.txt index 48248e0..3ac1b22 100644 --- a/readme.txt +++ b/readme.txt @@ -9,7 +9,7 @@ Requires Give: 3.17.0 Requires PHP: 7.2 License: GPLv3 -The Cloudflare Turnstile integration for GiveWP protects donation forms from spam by verifying human users without requiring traditional CAPTCHA methods. +Reduce donation spam with Cloudflare turnstile, a user-friendly, privacy-preserving alternative to CAPTCHA == Description == The Cloudflare Turnstile integration for **[GiveWP](https://go.givewp.com/cloud "Visit the GiveWP Website")** secures donation forms against bots. It prevents spam donations by using simple checks to ensure only real humans can submit your forms without choosing how many pictures include a bicycle. @@ -35,10 +35,6 @@ Stay in touch with us for important plugin news and updates: * [GiveWP Newsletter](https://go.givewp.com/subcloud) * [GiveWP Facebook](https://go.givewp.com/fbcloud) -== Installation == -= Minimum Requirements = -= Setup Instructions = - == Frequently Asked Questions == = Does Cloudflare Turnstile work with older donation forms? = No, the integration only works with forms created using the Visual Donation Form Builder. This feature won’t protect older forms. @@ -53,8 +49,8 @@ You can adjust settings in your Cloudflare account to fine-tune the behavior, bu == Screenshots == -== Development Notes == - == Changelog == += 1.0.0 = +* Initial release of the Cloudflare Turnstile integration for GiveWP. == Upgrade Notice ==