apostrophe in user email (4 posts)

  1. csleh
    Posted 5 years ago #

    There is one user with an apostrophe in the email address, but wordpress will not allow that character: ERROR: The e-mail address isn’t correct. (which is a crappy error message, really)

    This user doesn't have any other address to use.

    How can I get wordpress to accept the ' as part of an email address?

    From the research I've done it does seem strange this is the first time she's encountered an issue, but maybe there's something simple I need to do to make the address "correct."

  2. SebastianCrump
    Posted 5 years ago #

    I cannot believe this is still not fixed in the core code. I'm sure it was raised as a ticket several versions ago.

    My quick/dirty fix for an internal install a year or so ago was to replace the regex and instead use the PHP FILTER_VALIDATE_EMAIL

    Now I've just come across this again on a new production site, so not so willing to hack around in the core. Asking our dev to see if can be bypassed by plugin, but I suspect not...

  3. swinhoe
    Posted 4 years ago #

    Can we get this change added to the list for the next release ?

    And if not is it possibel tot build this core amend into a Plugin ?

    (quite new to WP still...- where do i raise a ticket ?)

  4. swinhoe
    Posted 4 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic