Differentiate between invalid and missing admin emails when adding a new site

Check the emptiness of the admin email before using `sanitize_email()` and `is_email()` to determine if the address is valid.

Fixes #17890

Built from https://develop.svn.wordpress.org/trunk@29877


git-svn-id: http://core.svn.wordpress.org/trunk@29634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Jeremy Felt
2014-10-12 00:22:18 +00:00
parent 7f2f3dcb5d
commit 1ffba4abc4
2 changed files with 8 additions and 4 deletions

View File

@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.1-alpha-20141011';
$wp_version = '4.1-alpha-20141012';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.