Plugin Directory

Changeset 3379447


Ignore:
Timestamp:
10/16/2025 12:20:11 PM (6 months ago)
Author:
clearoutio
Message:

is email fix

Location:
clearout-email-validator
Files:
19 added
4 edited

Legend:

Unmodified
Added
Removed
  • clearout-email-validator/trunk/plugin.php

    r3359847 r3379447  
    44 * Plugin URL:   https://developer.wordpress.org/plugins/clearout-email-validator
    55 * Description:  This plugin seamlessly integrated with all major forms to validate the user's given email address in real-time. Under the hood, this plugin use Clearout API to perform 20+ refined validation checks to determine the status of the email address, and thus helps capturing only the valid leads to maintain high quality mailing list.
    6  * Version:      3.2.2
     6 * Version:      3.2.3
    77 * Author:       Clearout.io
    88 * Author URI:   https://clearout.io
     
    1414
    1515// plugin version.
    16 define( 'CLEAROUT_PLUGIN_VERSION', '3.2.2' );
     16define( 'CLEAROUT_PLUGIN_VERSION', '3.2.3' );
    1717define( 'CLEAROUT_RESULT_CACHED_TIMEOUT', 3600 );
    1818define( 'CLEAROUT_BASE_API_URL', 'https://api.clearout.io/v2/' );
  • clearout-email-validator/trunk/readme.txt

    r3359847 r3379447  
    55Requires at least: 4.6
    66Tested up to: 6.8.1
    7 Stable tag: 3.2.2
     7Stable tag: 3.2.3
    88License: GPLv2 or later
    99Block invalid emails like temporary, disposable, etc. with our real-time email verification. Verify email address during form-fill and stop form spam.
     
    365365= 3.2.2 =
    366366* Minor Changes
     367= 3.2.3 =
     368* Minor Fixes
  • clearout-email-validator/trunk/src/clearout-plugin-page-settings.php

    r3359847 r3379447  
    735735        'flf_on_off'        => 'on',
    736736        'wsf_on_off'        => 'on',
    737         'ise_on_off'        => '',
     737        'ise_on_off'        => 'off',
    738738        'frm_on_off'        => 'on',
    739739        'wcr_on_off'        => 'on'
  • clearout-email-validator/trunk/src/clearout-plugin.php

    r3239399 r3379447  
    1919
    2020// Contact Form7.
    21 if ( ( isset( $clearout_options['cf7_on_off'] ) == 'on' ) && isset( $_POST['_wpcf7'] ) && is_plugin_active( 'contact-form-7/wp-contact-form-7.php' ) ) {
     21if ( isset( $clearout_options['cf7_on_off'] ) && $clearout_options['cf7_on_off'] === 'on' && isset( $_POST['_wpcf7'] ) && is_plugin_active( 'contact-form-7/wp-contact-form-7.php' ) ) {
    2222    add_filter( 'wpcf7_validate_email', 'clearout_wpcf7_custom_email_validator_filter', 1, 2 ); // Email field.
    2323    add_filter( 'wpcf7_validate_email*', 'clearout_wpcf7_custom_email_validator_filter', 1, 2 ); // Req. Email field.
     
    2525
    2626// Formiddable Form.
    27 if ( ( isset( $clearout_options['fmf_on_off'] ) == 'on' ) && isset( $_POST['frm_action'] ) && is_plugin_active( 'formidable/formidable.php' ) ) {
     27if ( isset( $clearout_options['fmf_on_off'] ) && $clearout_options['fmf_on_off'] === 'on' && isset( $_POST['frm_action'] ) && is_plugin_active( 'formidable/formidable.php' ) ) {
    2828    add_action( 'frm_validate_entry', 'clearout_frm_validate_entry', 1, 2 );
    2929}
    3030
    3131// Contact Form BWS.
    32 if ( ( isset( $clearout_options['cfb_on_off'] ) == 'on' ) && is_plugin_active( 'contact-form-plugin/contact_form.php' ) && isset( $_POST['cntctfrm_contact_email'] ) ) {
     32if ( isset( $clearout_options['cfb_on_off'] ) &&  $clearout_options['cfb_on_off'] === 'on' && is_plugin_active( 'contact-form-plugin/contact_form.php' ) && isset( $_POST['cntctfrm_contact_email'] ) ) {
    3333    add_filter( 'cntctfrm_check_form', 'clearout_bws_validate_email', 1 );
    3434}
    3535
    3636// Ninja Form.
    37 if ( ( 'on' == isset( $clearout_options['njf_on_off'] ) ) && ( isset( $_POST['action'] ) && 'nf_ajax_submit' == $_POST['action'] ) && is_plugin_active( 'ninja-forms/ninja-forms.php' ) ) {
     37if ( isset( $clearout_options['njf_on_off'] ) && $clearout_options['njf_on_off'] === 'on' && isset( $_POST['action'] ) && 'nf_ajax_submit' === $_POST['action'] && is_plugin_active( 'ninja-forms/ninja-forms.php' ) ) {
    3838    add_filter( 'ninja_forms_submit_data', 'clearout_ninja_email_validator', 1, 1 );
    3939}
    4040
    4141// Gravity Form.
    42 if ( ( isset( $clearout_options['gvf_on_off'] ) == 'on' ) ) {
     42if ( isset( $clearout_options['gvf_on_off'] )  && $clearout_options['gvf_on_off'] === 'on' ) {
    4343    add_filter( 'gform_field_validation', 'clearout_gvf_email_validator', 1, 4 );
    4444}
    4545
    4646// WordPress Registration Form.
    47 if ( ( isset( $clearout_options['rgf_on_off'] ) == 'on' ) && isset( $_POST['wp-submit'] ) ) {
     47if ( isset( $clearout_options['rgf_on_off'] ) && $clearout_options['rgf_on_off'] === 'on' && isset( $_POST['wp-submit'] ) ) {
    4848    add_action( 'registration_errors', 'clearout_email_validator_wprg', 1, 3 );
    4949}
    5050
    5151// WordPress Comment Form.
    52 if ( ( isset( $clearout_options['cmf_on_off'] ) == 'on' ) ) {
     52if ( isset( $clearout_options['cmf_on_off'] ) &&  $clearout_options['cmf_on_off'] === 'on' ) {
    5353    add_action( 'pre_comment_on_post', 'co_action_is_email_filter', 1 );
    5454    add_action( 'comment_post', 'co_action_remove_is_email_filter', 1 );
     
    5656
    5757// WPForm.
    58 if ( ( isset( $clearout_options['wpf_on_off'] ) == 'on' ) ) {
     58if ( isset( $clearout_options['wpf_on_off'] ) &&  $clearout_options['wpf_on_off'] === 'on' ) {
    5959    add_filter( 'wpforms_process_before', 'clearout_wpf_email_validator', 1, 2 );
    6060}
    6161
    6262// is_email hook.
    63 if ( ( isset( $clearout_options['ise_on_off'] ) == 'on' ) ) { // Other plugins that used is_email.
     63if ( isset( $clearout_options['ise_on_off'] ) && $clearout_options['ise_on_off'] === 'on' ) { // Other plugins that used is_email.
    6464    add_filter( 'is_email', 'clearout_email_validator_filter', 10 );
    6565}
    6666
    6767// Mailster Form.
    68 if ( ( isset( $clearout_options['msf_on_off'] ) == 'on' ) ) {
     68if ( isset( $clearout_options['msf_on_off'] ) && $clearout_options['msf_on_off'] === 'on' ) {
    6969    add_filter( 'mailster_verify_subscriber', 'clearout_mailster_email_validator', 1 );
    7070}
    7171
    7272// Woocommerce Checkout Form.
    73 if ( ( isset( $clearout_options['chf_on_off'] ) == 'on' ) ) {
     73if ( isset( $clearout_options['chf_on_off'] )  && $clearout_options['chf_on_off'] === 'on' ) {
    7474    add_filter( 'woocommerce_after_checkout_validation', 'clearout_woocom_checkout_validate_email', 1, 2 );
    7575}
    7676
    7777// ProMembership Form.
    78 if ( ( isset( $clearout_options['pmp_on_off'] ) == 'on' ) ) {
     78if ( isset( $clearout_options['pmp_on_off'] ) &&  $clearout_options['pmp_on_off'] === 'on' ) {
    7979    add_filter( 'pmpro_registration_checks', 'clearout_pmpro_signup_email_validate', 1, 2 );
    8080}
    8181
    8282// Elementor Form.
    83 if ( ( isset( $clearout_options['elm_on_off'] ) == 'on' ) && is_plugin_active( 'elementor-pro/elementor-pro.php' ) ) {
     83if ( isset( $clearout_options['elm_on_off'] ) &&  $clearout_options['elm_on_off'] === 'on' && is_plugin_active( 'elementor-pro/elementor-pro.php' ) ) {
    8484    add_action( 'elementor_pro/forms/validation/email', 'clearout_elementor_email_validator', 1, 3 );
    8585}
    8686
    8787// Fluent Form.
    88 if ( ( isset( $clearout_options['flf_on_off'] ) == 'on' ) ) {
     88if ( isset( $clearout_options['flf_on_off'] ) &&  $clearout_options['flf_on_off'] === 'on' ) {
    8989    add_filter( 'fluentform_validate_input_item_input_email', 'clearout_fluent_email_validator', 1, 5 );
    9090}
    9191
    9292// WS Form.
    93 if ( ( isset( $clearout_options['wsf_on_off'] ) == 'on' ) ) {
     93if ( isset( $clearout_options['wsf_on_off'] ) &&  $clearout_options['wsf_on_off'] === 'on' ) {
    9494    add_filter( 'wsf_action_email_email_validate', 'clearout_wsf_email_validator', 1, 2 );
    9595}
    9696
    97 // WS Form.
    98 if ( ( isset( $clearout_options['frm_on_off'] ) == 'on' ) ) {
     97// Custom Forminator Form.
     98if ( isset( $clearout_options['frm_on_off'] ) && $clearout_options['frm_on_off'] === 'on' ) {
    9999    add_filter( 'forminator_custom_form_submit_errors', 'clearout_forminator_email_validator', 1, 3 );
    100100}
     
    102102// WC Signup forms
    103103
    104 if ( ( isset( $clearout_options['wcr_on_off'] ) == 'on' ) ) {
     104if ( isset( $clearout_options['wcr_on_off'] ) &&  $clearout_options['wcr_on_off'] === 'on' ) {
    105105    add_action( 'woocommerce_register_post', 'clearout_woocommerce_registration_email_validator', 1, 3 );
    106106}
Note: See TracChangeset for help on using the changeset viewer.