[wp-trac] [WordPress Trac] #31992: Unicode Email Addresses
WordPress Trac
noreply at wordpress.org
Mon Feb 9 15:34:29 UTC 2026
#31992: Unicode Email Addresses
-------------------------------------------------+-------------------------
Reporter: ysalame | Owner:
| SergeyBiryukov
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 7.0
Component: Formatting | Version:
Severity: normal | Resolution:
Keywords: has-test-info has-patch has- | Focuses:
screenshots has-unit-tests dev-feedback |
-------------------------------------------------+-------------------------
Comment (by agulbra):
I don't see any blockers, but that doesn't mean there are none. I'll list
the issues that may be open, and my opinion:
- **Email address length.** The patch allows more than the strictest
common validators. It's possible to make a valid address that's rejected
by a lot of web signup forms. This PR permits everything that the common
signup forms allow, and then some. I'd love to get more clarity on that
(and am working towards that goal) but for the moment I think this PR is
right.
- **The PR's and issue's title vs. content**. The content expanded as a
result of comments and requests. At this point it would be difficult to
split the PR while keeping the commit names etc. properly, so I lean
towards merging as is, and perhaps renaming the github PR to reflect the
eventual content rather than the initial idea.
- **Latin1 database** and what happens. If that's a blocker I'll test it.
My gut feeling is that since UTF8 has been the default since 2006, sites
with latin1 databases may be so idiosyncratic that my testing won't catch
their possible issues. I can do it, I just don't feel that a positive
outcome will promise very much.
- **Allowed characters.** I'll implement whatever. There's rough consensus
outside WP on what a sensible repertoire is. Not perfect agreement.
- **utf8 vs. utf8mb4.** I don't have a strong opinion. Creating a
domain/email address where the difference matters is nontrivial. I know
how do it, it's far from impossible, but it's nontrivial enough that I
don't consider the issue important.
I hope I haven't missed anything.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31992#comment:77>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list