Plugin Directory

Changeset 3015453


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

Fix validation issue with honeypot active

File:
1 edited

Legend:

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

    r3013595 r3015453  
    237237
    238238            if ( $invalid_tags ) {
    239                 $new_validation_obj = new WPCF7_Validation();
     239                if ( ! is_a( $new_validation_obj, 'WPCF7_Validation' ) ) {
     240                    $new_validation_obj = new WPCF7_Validation();
     241                }
    240242
    241243                // Invalidate all invalid tags.
Note: See TracChangeset for help on using the changeset viewer.