Plugin Directory

Changeset 2292050


Ignore:
Timestamp:
04/26/2020 01:58:06 PM (6 years ago)
Author:
mmattel01
Message:

Version 1.1 with improved text domain suggested by translation

Location:
cf-email-domain-check
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • cf-email-domain-check/trunk/cf-email-check.php

    r2290988 r2292050  
    1212 * Plugin URI:        https://wordpress.org/plugins/cf-email-domain-check/
    1313 * Description:       Checks if the eMail domain has either an MX or A or AAAA record. This helps protecting against unreachable or invalid eMail domains.
    14  * Version:           1.0.0
     14 * Version:           1.1.0
    1515 * Requires at least: 5.2
    16  * Requires PHP:      7.2
     16 * Requires PHP:      5.6
    1717 * Author:            mmattel
    1818 * Author URI:        https://github.com/mmattel/eMail-Domain-Check-Processor-for-Caldera-Forms
    19  * Text Domain:       EDCCF_email_domain_text_domain
     19 * Text Domain:       cf-email-domain-check
    2020 * License:           GPL v2 or later
    2121 * License URI:       http://www.gnu.org/licenses/gpl-2.0.txt
     
    2323 
    2424defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
    25 load_plugin_textdomain('EDCCF_email_domain_text_domain', false, basename( dirname( __FILE__ ) ) . '/languages' );
    2625
    2726define('EDCCF_EMAIL_DOMAIN_FIELD_NAME', 'eMail');
     
    4039function EDCCF_email_domain_processor($processors){
    4140    $processors['email_check_cf_validator'] = array(
    42         'name' => __('eMail Domain Check', 'EDCCF_email_domain_text_domain' ),
    43         'description' => __('Check if the eMail domain has an MX or A or AAAA record', 'EDCCF_email_domain_text_domain' ),
     41        'name' => __('eMail Domain Check', 'cf-email-domain-check' ),
     42        'description' => __('Check if the eMail domain has an MX or A or AAAA record', 'cf-email-domain-check' ),
    4443        'pre_processor' => 'EDCCF_email_domain_validator',
    4544        'template' => dirname(__FILE__) . '/config.php'
     
    8382            'type' => 'error',
    8483            //this message will be shown above form
    85             'note' => sprintf(__( 'Please correct the %s field', 'EDCCF_email_domain_text_domain' ), $label ),
     84            'note' => sprintf(__( 'Please correct the %s field', 'cf-email-domain-check' ), $label ),
    8685            //Add error messages for any form field
    8786            'fields' => array(
     
    104103    if (!checkdnsrr($email_domain, "MX")){
    105104        if (!(checkdnsrr($email_domain, "A")) or !(checkdnsrr($email_domain, "AAAA"))){
    106             return sprintf(__( 'No eMail can be sent to the specified domain ( %s )', 'EDCCF_email_domain_text_domain' ), $email_domain);
     105            return sprintf(__( 'No eMail can be sent to the specified domain ( %s )', 'cf-email-domain-check' ), $email_domain);
    107106        }
    108107    }
     
    123122            'required' => true,
    124123            'magic' => true,
    125             'label' => __( 'Magic tag for field to validate. Use only one tag!', 'EDCCF_email_domain_text_domain' )
     124            'label' => __( 'Magic tag for field to validate. Use only one tag!', 'cf-email-domain-check' )
    126125        ),
    127126    );
  • cf-email-domain-check/trunk/readme.txt

    r2291087 r2292050  
    11=== eMail Domain Check Processor for Caldera Forms ===
    22Contributors: mmattel01
    3 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LVM4G56LYNQNY
     3Donate link: https://paypal.me/pools/c/8ovfl2FW7x
    44Tags: caldera forms, email, domain, dns
    55Requires at least: 4.6
    66Requires PHP: 5.2.4
    77Tested up to: 5.4
    8 Stable tag: 1.0
     8Stable tag: 1.1
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6767== Upgrade Notice ==
    6868
    69 * Initial Release
     69* Please always upgrade to the latest release
    7070
    7171== Changelog ==
     72
     73= 1.1 =
     74
     75* Improved Text Domain settings
    7276
    7377= 1.0 =
Note: See TracChangeset for help on using the changeset viewer.