• Just a simple feature request; change line 346 in ./wp-includes/functions.php from:
    <pre>
    345 function is_email($user_email) {
    346 $chars = “/^([a-z0-9_]|\\-|\\.)+@(([a-z0-9_]|\\-)+\\.)+[a-z]{2,4}\$/i”;
    347 if(strstr($user_email, ‘@’) && strstr($user_email, ‘.’)) {
    </pre>
    to
    <pre>
    345 function is_email($user_email) {
    346 $chars = “/^([a-z0-9_][a-z0-9_.+-]*)+@(([a-z0-9_-])+\\.)+[a-z]{2,6}\$/i”;
    347 if(strstr($user_email, ‘@’) && strstr($user_email, ‘.’)) {
    </pre>
    This fixes WordPress to allow plus-tagged email addresses as supported by Postfix, etc.. It’s a little more RFC-compliant too…
    Note also that the TLD portion of the domain has been changed to [a-z]{2,6} from [a-z]{2,4} to account for the .museum TLD.

Viewing 1 replies (of 1 total)
  • for 1.1, this function is in wp-includes/functions-formatting.php
    … that’s where i found it btw! and we only have the $char … line to edit, not the second one.

Viewing 1 replies (of 1 total)
  • The topic ‘REQ: Accept ‘ ‘ in email address (tagged address’ is closed to new replies.