[wp-trac] [WordPress Trac] #17890: "Add New Site" screen reports invalid email addresses as missing
WordPress Trac
wp-trac at lists.automattic.com
Sat Jun 25 11:32:41 UTC 2011
#17890: "Add New Site" screen reports invalid email addresses as missing
---------------------------+-----------------------------
Reporter: kawauso | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Network Admin | Version: 3.1.3
Severity: normal | Keywords:
---------------------------+-----------------------------
The new site user's email is passed through `sanitize_email()` and the
screen dies with 'Missing email address.' if it's `empty()`.
`sanitize_email()` returns an empty string (subject to filtering) on
invalid email addresses however, so the following `is_email()` check for
invalid email addresses is never even reached.
'''Steps to reproduce:'''
1. Add a new site with an email address such as foo at bar
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17890>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list