PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / 6.2.15
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder v6.2.15
6.2.15 6.2.14 6.2.13 6.2.12 6.2.10 6.2.11 6.2.9 6.2.8 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 3.6.22 3.6.31 3.6.40 3.6.41 3.6.42 3.6.50 3.6.51 3.6.60 3.6.61 3.6.62 3.6.64 All 197 releases
← All changes | app/Services/Form/FormValidationService.php +9 -3 6.2.14 → 6.2.15 View file →
@@ -427,10 +427,12 @@
427 427 if (!wp_verify_nonce($nonce, 'fluentform-submit-form')) {
428 428 $errors = apply_filters_deprecated(
429 429 'fluentForm_nonce_error',
430 430 [
431 - '_fluentformnonce' => [
432 - __('Nonce verification failed, please try again.', 'fluentform'),
431 + [
432 + '_fluentformnonce' => [
433 + __('Nonce verification failed, please try again.', 'fluentform'),
434 + ],
433 435 ],
434 436 ],
435 437 FLUENTFORM_FRAMEWORK_UPGRADE,
436 438 'fluentForm/nonce_error',
@@ -436,9 +438,9 @@
436 438 'fluentForm/nonce_error',
437 439 'Use fluentForm/nonce_error instead of fluentForm_nonce_error.'
438 440 );
439 441
440 - $errors = $this->app->applyFilters('fluentForm/nonce_error', $errors);
442 + $errors = $this->app->applyFilters('fluentform/nonce_error', $errors);
441 443 // phpcs:ignore WordPress.Security.EscapeOutput.ExceptionNotEscaped -- Exception message, not output
442 444 throw new ValidationException('', 422, null, ['errors' => $errors]);
443 445 }
444 446 }
@@ -539,8 +541,12 @@
539 541 }
540 542
541 543 public function isCleanTalkSpam($formData, $form)
542 544 {
545 + if (CleanTalkHandler::isCleantalkActivated() || CleanTalkHandler::hasExecuted()) {
546 + return false;
547 + }
548 +
543 549 if (!CleanTalkHandler::isEnabled()) {
544 550 return false;
545 551 }
546 552 $isSpamCheck = apply_filters('fluentform/cleantalk_check_spam', true, $form->id, $formData);