Plugin Directory

Changeset 3015442


Ignore:
Timestamp:
12/29/2023 09:41:35 AM (2 years ago)
Author:
querysolutions
Message:

Fix validation with honeypot active

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wpcf7-redirect/tags/3.1.3/classes/class-wpcf7r-submission.php

    r3014825 r3015442  
    237237
    238238            if ( $invalid_tags ) {
     239                if ( ! is_a( $new_validation_obj, 'WPCF7_Validation' ) ) {
     240                    $new_validation_obj = new WPCF7_Validation();
     241                }
     242
    239243                // Invalidate all invalid tags.
    240244                foreach ( reset( $invalid_tags ) as $custom_error_action_results ) {
Note: See TracChangeset for help on using the changeset viewer.