Skip to content

UM-Block Disposable Email Domains #91

Description

@MissVeronica

Remove the email blocked list with the UM options key blocked_disposable_emails from um_options.

UM()->options()->update( 'blocked_disposable_emails', implode( PHP_EOL, $arr_email_formatted ) );

The blocked disposable email domains return from "CDN API URL" is approx 2970 Kbytes and my current um_options is 79 Kbytes.
Activating the "Block Disposable Email Domains" plugin will make the um_options 39 times larger with longer load times for each UM page or 97,4% of the um_options is Blocked Email Domains only needed at the Registration page.

Move the blocked_disposable_emails to its own option_name in the options table
and cleanup by removing blocked_disposable_emails from um_options.

Another issues with this blocked_disposable_emails is that phpMyAdmin will fail ( too large entry ) if you need to update anything in um_options and UM will crash.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions