diff --git a/README.md b/README.md index c4145c6..811332a 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,10 @@ ### Fluent Forms +### Gravity Forms + +### Forminator + ## Advance Features * Able to trigger adCAPTCHA on the "Place order" button. diff --git a/adcaptcha.php b/adcaptcha.php index c343201..96ac568 100644 --- a/adcaptcha.php +++ b/adcaptcha.php @@ -2,7 +2,7 @@ /** * Plugin Name: adCAPTCHA for WordPress * Description: Secure your site. Elevate your brand. Boost Ad Revenue. - * Version: 1.6.0 + * Version: 1.7.0 * Requires at least: 6.4.2 * Requires PHP: 7.4 * Author: adCAPTCHA @@ -21,7 +21,7 @@ use AdCaptcha\Instantiate; -const PLUGIN_VERSION_ADCAPTCHA = '1.6.0'; +const PLUGIN_VERSION_ADCAPTCHA = '1.7.0'; define('ADCAPTCHA_ERROR_MESSAGE', __( 'Please complete the I am human box.', 'adcaptcha' )); if ( ! function_exists( 'adcaptcha_uninstall' ) ) { diff --git a/readme.txt b/readme.txt index 8fc40c7..3cfafc9 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Contributors: adCAPTCHA Tags: spam, anti-spam, block bots, security, adCAPTCHA Requires at least: 6.0 Tested up to: 6.5.2 -Stable tag: 1.6.0 +Stable tag: 1.7.0 Requires PHP: 7.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -46,6 +46,10 @@ adCAPTCHA offers a unique proposition in the digital space by combining Security **Fluent Forms** +**Gravity Forms** + +**Forminator** + == Advance Features == **Woocommerce** @@ -157,3 +161,6 @@ During verification, the adCAPTCHA service may briefly receive the user's IP add = 1.6.0 = - Added feature to disable the WooCommerce checkout endpoint. + += 1.7.0 = +- Feature: Added support for Gravity Forms and Forminator. diff --git a/src/Instantiate.php b/src/Instantiate.php index 2d4057c..c300fdc 100644 --- a/src/Instantiate.php +++ b/src/Instantiate.php @@ -89,11 +89,11 @@ public function setup() { 'Forminator_Forms' => [ 'instance' => Forminator::class, 'plugin' => [ 'forminator/forminator.php' ], - + ], 'GravityForms_Forms' => [ 'instance' => GravityForms::class, - 'plugin' => [ 'gravityforms/gravityforms.php' ], - ], + 'plugin' => [ 'gravityforms/gravityforms.php' ] + ] ]; $selected_plugins = get_option('adcaptcha_selected_plugins') ? get_option('adcaptcha_selected_plugins') : array(); diff --git a/src/Settings/Settings.php b/src/Settings/Settings.php index 192572e..14f3384 100644 --- a/src/Settings/Settings.php +++ b/src/Settings/Settings.php @@ -81,6 +81,6 @@ public function change_admin_footer_text() { } public function change_admin_footer_version() { - return 'Version 1.6.0'; + return 'Version 1.7.0'; } }