Changeset 2640428
- Timestamp:
- 12/07/2021 07:31:00 AM (4 years ago)
- Location:
- validator-pizza/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
validator-pizza.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
validator-pizza/trunk/readme.txt
r2366546 r2640428 1 === Validator.pizza===1 === MailCheck.ai === 2 2 Contributors: tompec 3 Tags: block,disposable, email,validation3 Tags: block,disposable,throwaway,email,validation 4 4 Requires at least: 3.0 5 Tested up to: 5. 5.06 Stable tag: 1. 1.15 Tested up to: 5.8.2 6 Stable tag: 1.2.0 7 7 8 8 Block disposable email addresses from registering or commenting on your site. 9 9 10 10 == Description == 11 Validator.pizza prevents disposable emails from being used when people sign up or comment on your website.11 Validator.pizza prevents disposable emails from being used when someone registers or comments on your site. 12 12 13 It uses the API from the website https://www.validator.pizza, which is always up to date with the most recent domains.13 It uses the API of the website https://www.mailcheck.ai, which is always up to date and contains the latest domains. 14 14 15 It’s free to use and works out of the box.15 The plugin is free and works immediately after installation. 16 16 17 17 == Installation == 18 Upload the Validator.pizza plugin to your blog, activate it and you’re done!18 Upload the plugin to your blog, activate it and you are done! Your site is now protected. 19 19 20 20 == Changelog == 21 = 1.2.0 = 22 * Update WordPress compatibility and rebrand from Validator.pizza to MailCheck.ai 21 23 = 1.1.1 = 22 24 * Update WordPress compatibility -
validator-pizza/trunk/validator-pizza.php
r2366539 r2640428 1 1 <?php 2 2 /** 3 * Validator.pizza3 * MailCheck.ai 4 4 * 5 5 * @wordpress-plugin 6 * Plugin Name: Validator.pizza7 * Description: This plugin blocks disposable emails on your website. It works out of the box, no registration required. It uses the validator.pizza API which is always up to date with the most recent domains.8 * Version: 1. 1.19 * Author: Validator.pizza10 * Author URI: https://www. validator.pizza6 * Plugin Name: MailCheck.ai 7 * Description: This plugin prevents throwaway emails from signing up or commenting on your website. It is ready to use out of the box and requires no registration. It uses the MailCheck.ai API, which is always up to date and includes the latest domains. 8 * Version: 1.2.0 9 * Author: MailCheck.ai 10 * Author URI: https://www.mailcheck.ai 11 11 */ 12 12 13 if (! function_exists(' validator_pizza')) {14 add_filter('is_email', ' validator_pizza', 10, 2);13 if (! function_exists('mailcheck')) { 14 add_filter('is_email', 'mailcheck', 10, 2); 15 15 16 function validator_pizza($is_email, $email)16 function mailcheck($is_email, $email) 17 17 { 18 18 // Return false if the email didn't pass is_email() checks … … 25 25 26 26 // Prepare tu request URL to send the domain only 27 $request_url = "https:// www.validator.pizza/domain/" . $domain;27 $request_url = "https://api.mailcheck.ai/domain/" . $domain; 28 28 29 29 // Check if the domain is cached
Note: See TracChangeset
for help on using the changeset viewer.