diff --git a/app/integrations/google-captcha/Integration.php b/app/integrations/google-captcha/Integration.php index 3b47670..1385a5c 100644 --- a/app/integrations/google-captcha/Integration.php +++ b/app/integrations/google-captcha/Integration.php @@ -18,17 +18,23 @@ public function load_hooks() { if(gglcptch_is_recaptcha_required('memberpress_checkout')) { add_action('mepr-checkout-before-submit', array($this, 'add_recaptcha')); - add_filter('mepr-validate-signup', array($this, 'verify_recaptcha_checkout')); + if(!function_exists('gglcptch_memberpress_checkout_check')) { + add_filter('mepr-validate-signup', array($this, 'verify_recaptcha_checkout')); + } } if(gglcptch_is_recaptcha_required('memberpress_login')) { add_action('mepr-login-form-before-submit', array($this, 'add_recaptcha')); - add_filter('mepr-validate-login', array($this, 'verify_recaptcha_login')); + if(!function_exists('gglcptch_memberpress_login_check')) { + add_filter('mepr-validate-login', array($this, 'verify_recaptcha_login')); + } } if(gglcptch_is_recaptcha_required('memberpress_forgot_password')) { add_action('mepr-forgot-password-form', array($this, 'add_recaptcha')); - add_filter('mepr-validate-forgot-password', array($this, 'verify_recaptcha_forgot_password')); + if(!function_exists('gglcptch_memberpress_forgot_password_check')) { + add_filter('mepr-validate-forgot-password', array($this, 'verify_recaptcha_forgot_password')); + } } } diff --git a/i18n/memberpress.pot b/i18n/memberpress.pot index 62e9df2..aa0f534 100644 --- a/i18n/memberpress.pot +++ b/i18n/memberpress.pot @@ -2,14 +2,14 @@ # This file is distributed under the same license as the MemberPress plugin. msgid "" msgstr "" -"Project-Id-Version: MemberPress 1.11.10\n" +"Project-Id-Version: MemberPress 1.11.11\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/memberpress\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2023-07-14T16:28:13-06:00\n" +"POT-Creation-Date: 2023-07-18T11:30:16-06:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.8.1\n" "X-Domain: memberpress\n" @@ -5050,21 +5050,21 @@ msgstr "" msgid "Forum Profile" msgstr "" -#: app/integrations/google-captcha/Integration.php:36 +#: app/integrations/google-captcha/Integration.php:42 msgid "MemberPress checkout form" msgstr "" -#: app/integrations/google-captcha/Integration.php:37 +#: app/integrations/google-captcha/Integration.php:43 msgid "MemberPress login form" msgstr "" -#: app/integrations/google-captcha/Integration.php:38 +#: app/integrations/google-captcha/Integration.php:44 msgid "MemberPress forgot password form" msgstr "" -#: app/integrations/google-captcha/Integration.php:55 -#: app/integrations/google-captcha/Integration.php:65 -#: app/integrations/google-captcha/Integration.php:75 +#: app/integrations/google-captcha/Integration.php:61 +#: app/integrations/google-captcha/Integration.php:71 +#: app/integrations/google-captcha/Integration.php:81 msgid "Captcha verification failed" msgstr "" diff --git a/memberpress.php b/memberpress.php index 4a6c020..abb9d1a 100644 --- a/memberpress.php +++ b/memberpress.php @@ -3,7 +3,7 @@ Plugin Name: MemberPress Pro 30 (Legacy) Plugin URI: http://www.memberpress.com/ Description: The membership plugin that makes it easy to accept payments for access to your content and digital products. -Version: 1.11.10 +Version: 1.11.11 Author: Caseproof, LLC Author URI: http://caseproof.com/ Text Domain: memberpress