Plugin Directory

Changeset 2894908


Ignore:
Timestamp:
04/06/2023 10:04:02 AM (3 years ago)
Author:
clearoutio
Message:

security issue fix

Location:
clearout-email-validator/trunk
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • clearout-email-validator/trunk/assets/js/clearout_plugin.js

    r2843997 r2894908  
    5151                action: 'co_test_plugin_setting_action',
    5252                clearout_email: jQuery('#clearout_email_address_input').val(),
    53                 clearout_timeout: jQuery('#timeout').val() * 1000
     53                clearout_timeout: jQuery('#timeout').val() * 1000,
     54                _wpnonce: clearout_plugin_ajax_call.nonce
    5455            },
    5556            success: function (response /** raw response object */) {
  • clearout-email-validator/trunk/plugin.php

    r2843997 r2894908  
    11<?php
    2 /**
    3 * Plugin Name:  Clearout Email Validator
    4 * Plugin URL:   https://developer.wordpress.org/plugins/clearout-email-validator
    5 * 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:      2.1.1
    7 * Author:       Clearout.io
    8 * Author URI:   https://clearout.io
    9 * License:      GNU
    10 * License URI:  https://www.gnu.org/licenses/gpl-2.0.html
    11 */
    12 
     2/**
     3 * Plugin Name:  Clearout Email Validator
     4 * Plugin URL:   https://developer.wordpress.org/plugins/clearout-email-validator
     5 * 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.0.0
     7 * Author:       Clearout.io
     8 * Author URI:   https://clearout.io
     9 * License:      GNU
     10 * License URI:  https://www.gnu.org/licenses/gpl-2.0.html
     11 *
     12 * @package clearout-email-validator
     13 */
    1314
    1415// plugin version.
    15 define('CLEAROUT_PLUGIN_VERSION', '2.1.1');
    16 define('CLEAROUT_RESULT_CACHED_TIMEOUT', 3600);
    17 define('CLEAROUT_BASE_API_URL', "https://api.clearout.io/v2/");
    18 define("CLEAROUT_EMAIL_VERIFY_API_URL", CLEAROUT_BASE_API_URL . "wordpress/email_verify?v=" . CLEAROUT_PLUGIN_VERSION);
    19 define("CLEAROUT_PLUGIN_SETTINGS_API_URL", CLEAROUT_BASE_API_URL . "wordpress/co_wp_setting_changed?v=" . CLEAROUT_PLUGIN_VERSION);
    20 define("CLEAROUT_PLUGIN_DEACTIVATED_API_URL", CLEAROUT_BASE_API_URL . "wordpress/co_wp_deactivated?v=" . CLEAROUT_PLUGIN_VERSION);
    21 define("CLEAROUT_PLUGIN_ACTIVATED_API_URL", CLEAROUT_BASE_API_URL . "wordpress/co_wp_activated?v=" . CLEAROUT_PLUGIN_VERSION);
    22 define("CLEAROUT_GET_AVAILABLE_CREDITS_API_URL", CLEAROUT_BASE_API_URL . "email_verify/getcredits");
    23 define('CLEAROUT_TEST_PLUGIN_SOURCE', 'co-test-plugin');
    24 define('CLEAROUT_VERIFICATION_EMAIL_WHITELISTED_SUBSTATUS_CODE', 601);
    25 define('CLEAROUT_VERIFICATION_DOMAIN_WHITELISTED_SUBSTATUS_CODE', 603);
    26 define('CLEAROUT_UNAUTHORIZED_STATUS_CODE', 401);
    27 define('CLEAROUT_HTTP_OK_STATUS_CODE', 200);
    28 define('CLEAROUT_IGNORE_VALIDATION_IDENTIFIER_REGEX', '/^clearout_skip_validation/i');
     16define( 'CLEAROUT_PLUGIN_VERSION', '3.0.0' );
     17define( 'CLEAROUT_RESULT_CACHED_TIMEOUT', 3600 );
     18define( 'CLEAROUT_BASE_API_URL', 'https://api.clearout.io/v2/' );
     19define( 'CLEAROUT_EMAIL_VERIFY_API_URL', CLEAROUT_BASE_API_URL . 'wordpress/email_verify?v=' . CLEAROUT_PLUGIN_VERSION );
     20define( 'CLEAROUT_PLUGIN_SETTINGS_API_URL', CLEAROUT_BASE_API_URL . 'wordpress/co_wp_setting_changed?v=' . CLEAROUT_PLUGIN_VERSION );
     21define( 'CLEAROUT_PLUGIN_DEACTIVATED_API_URL', CLEAROUT_BASE_API_URL . 'wordpress/co_wp_deactivated?v=' . CLEAROUT_PLUGIN_VERSION );
     22define( 'CLEAROUT_PLUGIN_ACTIVATED_API_URL', CLEAROUT_BASE_API_URL . 'wordpress/co_wp_activated?v=' . CLEAROUT_PLUGIN_VERSION );
     23define( 'CLEAROUT_GET_AVAILABLE_CREDITS_API_URL', CLEAROUT_BASE_API_URL . 'email_verify/getcredits' );
     24define( 'CLEAROUT_TEST_PLUGIN_SOURCE', 'co-test-plugin' );
     25define( 'CLEAROUT_VERIFICATION_EMAIL_WHITELISTED_SUBSTATUS_CODE', 601 );
     26define( 'CLEAROUT_VERIFICATION_DOMAIN_WHITELISTED_SUBSTATUS_CODE', 603 );
     27define( 'CLEAROUT_UNAUTHORIZED_STATUS_CODE', 401 );
     28define( 'CLEAROUT_HTTP_OK_STATUS_CODE', 200 );
     29define( 'CLEAROUT_IGNORE_VALIDATION_IDENTIFIER_REGEX', '/^clearout_skip_validation/i' );
    2930
    30 include_once (ABSPATH . 'wp-admin/includes/plugin.php');
    31 require_once (dirname(__FILE__).'/src/clearout_plugin.php');
    32 require_once (dirname(__FILE__).'/src/clearout_validator.php');
    33 require_once (dirname(__FILE__).'/src/clearout_plugin_page_settings.php');
     31require_once ABSPATH . 'wp-admin/includes/plugin.php';
     32require_once dirname( __FILE__ ) . '/src/clearout-plugin.php';
     33require_once dirname( __FILE__ ) . '/src/clearout-validator.php';
     34require_once dirname( __FILE__ ) . '/src/clearout-plugin-page-settings.php';
    3435register_activation_hook( __FILE__, 'co_hook_plugin_activate' );
    3536register_deactivation_hook( __FILE__, 'co_hook_plugin_deactivate' );
  • clearout-email-validator/trunk/readme.txt

    r2868607 r2894908  
    307307= 2.1.1 =
    308308* Optimised and improved Filter Urls
     309= 3.0.0 =
     310* Security Fixes and Code Optimisations
  • clearout-email-validator/trunk/uninstall.php

    r2179096 r2894908  
    11<?php
     2/**
     3 * Description. Uninstall module for clearout.
     4 *
     5 * @package clearout-email-validator
     6 */
     7
    28if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
    39    exit;
Note: See TracChangeset for help on using the changeset viewer.