Plugin Directory

Changeset 2640428


Ignore:
Timestamp:
12/07/2021 07:31:00 AM (4 years ago)
Author:
tompec
Message:

update wordpress compatibility and new name

Location:
validator-pizza/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • validator-pizza/trunk/readme.txt

    r2366546 r2640428  
    1 === Validator.pizza ===
     1=== MailCheck.ai ===
    22Contributors: tompec
    3 Tags: block,disposable,email,validation
     3Tags: block,disposable,throwaway,email,validation
    44Requires at least: 3.0
    5 Tested up to: 5.5.0
    6 Stable tag: 1.1.1
     5Tested up to: 5.8.2
     6Stable tag: 1.2.0
    77
    88Block disposable email addresses from registering or commenting on your site.
    99
    1010== Description ==
    11 Validator.pizza prevents disposable emails from being used when people sign up or comment on your website.
     11Validator.pizza prevents disposable emails from being used when someone registers or comments on your site.
    1212
    13 It uses the API from the website https://www.validator.pizza, which is always up to date with the most recent domains.
     13It uses the API of the website https://www.mailcheck.ai, which is always up to date and contains the latest domains.
    1414
    15 It’s free to use and works out of the box.
     15The plugin is free and works immediately after installation.
    1616
    1717== Installation ==
    18 Upload the Validator.pizza plugin to your blog, activate it and you’re done!
     18Upload the plugin to your blog, activate it and you are done! Your site is now protected.
    1919
    2020== Changelog ==
     21= 1.2.0 =
     22* Update WordPress compatibility and rebrand from Validator.pizza to MailCheck.ai
    2123= 1.1.1 =
    2224* Update WordPress compatibility
  • validator-pizza/trunk/validator-pizza.php

    r2366539 r2640428  
    11<?php
    22/**
    3  * Validator.pizza
     3 * MailCheck.ai
    44 *
    55 * @wordpress-plugin
    6  * Plugin Name: Validator.pizza
    7  * 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.1
    9  * Author:      Validator.pizza
    10  * Author URI:  https://www.validator.pizza
     6 * 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
    1111 */
    1212
    13 if (! function_exists('validator_pizza')) {
    14     add_filter('is_email', 'validator_pizza', 10, 2);
     13if (! function_exists('mailcheck')) {
     14    add_filter('is_email', 'mailcheck', 10, 2);
    1515
    16     function validator_pizza($is_email, $email)
     16    function mailcheck($is_email, $email)
    1717    {
    1818        // Return false if the email didn't pass is_email() checks
     
    2525
    2626        // 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;
    2828
    2929        // Check if the domain is cached
Note: See TracChangeset for help on using the changeset viewer.