[wpmu-trac] [WordPress MU Trac] #448: validate email before
creating blog/user at the backend
WordPress MU Trac
wpmu-trac at lists.automattic.com
Tue Oct 16 10:45:37 GMT 2007
#448: validate email before creating blog/user at the backend
------------------------+---------------------------------------------------
Reporter: ktlee | Owner: somebody
Type: defect | Status: new
Priority: low | Milestone: WPMU 2.0
Component: component1 | Version: 2.0
Severity: trivial | Keywords:
------------------------+---------------------------------------------------
When creating new blog under the site-admin->blogs,
we should check for valid email address before creating users.
Add
{{{
if ( !is_email( $email ) ) die( "Invalide Email address" );
}}}
below line 120
{{{
$email = wp_specialchars( $blog['email'] );
}}}
This will stop creating users with invalid or empty email.
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/448>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list