Changeset 2292050
- Timestamp:
- 04/26/2020 01:58:06 PM (6 years ago)
- Location:
- cf-email-domain-check
- Files:
-
- 4 added
- 2 edited
-
tags/1.1 (added)
-
tags/1.1/cf-email-check.php (added)
-
tags/1.1/config.php (added)
-
tags/1.1/readme.txt (added)
-
trunk/cf-email-check.php (modified) (6 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cf-email-domain-check/trunk/cf-email-check.php
r2290988 r2292050 12 12 * Plugin URI: https://wordpress.org/plugins/cf-email-domain-check/ 13 13 * 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.014 * Version: 1.1.0 15 15 * Requires at least: 5.2 16 * Requires PHP: 7.216 * Requires PHP: 5.6 17 17 * Author: mmattel 18 18 * Author URI: https://github.com/mmattel/eMail-Domain-Check-Processor-for-Caldera-Forms 19 * Text Domain: EDCCF_email_domain_text_domain19 * Text Domain: cf-email-domain-check 20 20 * License: GPL v2 or later 21 21 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt … … 23 23 24 24 defined( 'ABSPATH' ) or die( 'No script kiddies please!' ); 25 load_plugin_textdomain('EDCCF_email_domain_text_domain', false, basename( dirname( __FILE__ ) ) . '/languages' );26 25 27 26 define('EDCCF_EMAIL_DOMAIN_FIELD_NAME', 'eMail'); … … 40 39 function EDCCF_email_domain_processor($processors){ 41 40 $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' ), 44 43 'pre_processor' => 'EDCCF_email_domain_validator', 45 44 'template' => dirname(__FILE__) . '/config.php' … … 83 82 'type' => 'error', 84 83 //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 ), 86 85 //Add error messages for any form field 87 86 'fields' => array( … … 104 103 if (!checkdnsrr($email_domain, "MX")){ 105 104 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); 107 106 } 108 107 } … … 123 122 'required' => true, 124 123 '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' ) 126 125 ), 127 126 ); -
cf-email-domain-check/trunk/readme.txt
r2291087 r2292050 1 1 === eMail Domain Check Processor for Caldera Forms === 2 2 Contributors: mmattel01 3 Donate link: https:// www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LVM4G56LYNQNY3 Donate link: https://paypal.me/pools/c/8ovfl2FW7x 4 4 Tags: caldera forms, email, domain, dns 5 5 Requires at least: 4.6 6 6 Requires PHP: 5.2.4 7 7 Tested up to: 5.4 8 Stable tag: 1. 08 Stable tag: 1.1 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 67 67 == Upgrade Notice == 68 68 69 * Initial Release69 * Please always upgrade to the latest release 70 70 71 71 == Changelog == 72 73 = 1.1 = 74 75 * Improved Text Domain settings 72 76 73 77 = 1.0 =
Note: See TracChangeset
for help on using the changeset viewer.