PluginProbe
Defender Security – Malware Scanner, Login Security & Firewall / 6.3.0
Defender Security – Malware Scanner, Login Security & Firewall v6.3.0
6.3.0 6.2.3 6.2.4 6.2.0 6.2.1 6.2.2 6.1.0 5.3.1 5.4.0 5.4.1 5.5.0 5.5.1 5.6.0 5.6.1 5.6.2 5.7.0 5.7.1 5.7.2 5.8.0 5.8.1 5.9.0 6.0.0 6.0.1 3.0.1 3.1.0 All 141 releases
← All changes | src/component/captcha/class-recaptcha.php +7 -1 6.2.4 → 6.3.0 View file →
@@ -235,9 +235,15 @@
235 235 *
236 236 * @return bool
237 237 */
238 238 public function should_skip_check( Woocommerce $woo, Buddypress $buddypress ): bool {
239 - return false;
239 + // Ultimate Member (UM) handles its own form validation through these hooks; skip
240 + // reCAPTCHA to avoid conflicting with UM's validation flow.
241 + if ( ! class_exists( 'UM' ) ) {
242 + return false;
243 + }
244 +
245 + return doing_action( 'um_submit_form_errors_hook_login' ) || doing_action( 'um_submit_account_details' );
240 246 }
241 247
242 248 /**
243 249 * Verify response for a specific form.