Plugin Directory

Changeset 3134338


Ignore:
Timestamp:
08/12/2024 03:36:26 PM (20 months ago)
Author:
clearoutio
Message:

Minor Enhancements

Location:
clearout-email-validator
Files:
18 added
3 edited

Legend:

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

    r3112973 r3134338  
    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.1.3
     6 * Version:      3.1.4
    77 * Author:       Clearout.io
    88 * Author URI:   https://clearout.io
     
    1414
    1515// plugin version.
    16 define( 'CLEAROUT_PLUGIN_VERSION', '3.1.3' );
     16define( 'CLEAROUT_PLUGIN_VERSION', '3.1.4' );
    1717define( 'CLEAROUT_RESULT_CACHED_TIMEOUT', 3600 );
    1818define( 'CLEAROUT_BASE_API_URL', 'https://api.clearout.io/v2/' );
     
    2525define( 'CLEAROUT_VERIFICATION_EMAIL_WHITELISTED_SUBSTATUS_CODE', 601 );
    2626define( 'CLEAROUT_VERIFICATION_DOMAIN_WHITELISTED_SUBSTATUS_CODE', 603 );
     27define( 'CLEAROUT_VERIFICATION_TLD_WHITELISTED_SUBSTATUS_CODE', 607 );
     28define( 'CLEAROUT_VERIFICATION_ACCOUNT_WHITELISTED_SUBSTATUS_CODE', 609 );
    2729define( 'CLEAROUT_UNAUTHORIZED_STATUS_CODE', 401 );
    2830define( 'CLEAROUT_HTTP_OK_STATUS_CODE', 200 );
  • clearout-email-validator/trunk/readme.txt

    r3112979 r3134338  
    55Requires at least: 4.6
    66Tested up to: 6.5.5
    7 Stable tag: 3.1.3
     7Stable tag: 3.1.4
    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.
     
    349349= 3.1.3 =
    350350* Inclusion & Exclusion url improvements
     351= 3.1.4 =
     352* Minor Changes
  • clearout-email-validator/trunk/src/clearout-validator.php

    r3112973 r3134338  
    289289    }
    290290
     291    $whitelisted_codes = [
     292        CLEAROUT_VERIFICATION_EMAIL_WHITELISTED_SUBSTATUS_CODE,
     293        CLEAROUT_VERIFICATION_DOMAIN_WHITELISTED_SUBSTATUS_CODE,
     294        CLEAROUT_VERIFICATION_TLD_WHITELISTED_SUBSTATUS_CODE,
     295        CLEAROUT_VERIFICATION_ACCOUNT_WHITELISTED_SUBSTATUS_CODE
     296    ];
     297
    291298    // Check for whitelisting of the emai/domain.
    292     if ( CLEAROUT_VERIFICATION_EMAIL_WHITELISTED_SUBSTATUS_CODE == $email_result['data']['sub_status']['code'] || CLEAROUT_VERIFICATION_DOMAIN_WHITELISTED_SUBSTATUS_CODE == $email_result['data']['sub_status']['code'] ) {
     299    if ( in_array($email_result['data']['sub_status']['code'], $whitelisted_codes, true) ) {
    293300        return $clearout_validation_result;
    294301    }
Note: See TracChangeset for help on using the changeset viewer.