Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is_email(): add check for double period in the local part of the address #4631

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

enricobattocchi
Copy link

Added a check for double periods on the local part of the email address (taking inspiration from the same check on the domain part) + added unit test cases for both the local and the domain part (which was missing).

Trac ticket: https://core.trac.wordpress.org/ticket/55821


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

@enricobattocchi enricobattocchi changed the title 55821 double period email address is_email(): add check for double period in the local part of the address Jun 17, 2023
@enricobattocchi enricobattocchi force-pushed the 55821-double-period-email-address branch from 71f7d06 to 6b456e7 Compare June 17, 2023 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant