WordPress.org

Make WordPress Core

Ticket #41480: 41480.patch

File 41480.patch, 462 bytes (added by umangvaghela123, 3 years ago)

Fix #41480 issue

  • class-phpmailer.php

     
    11521152                    and strpos($address, '@') != strlen($address) - 1);
    11531153            case 'php':
    11541154            default:
    1155                 return (boolean)filter_var($address, FILTER_VALIDATE_EMAIL);
     1155                return is_email($address);
    11561156        }
    11571157    }
    11581158