Go back to sanitize_user() so that dots are allowed. Props ocean90. see #14910
git-svn-id: https://develop.svn.wordpress.org/trunk@16848 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3ebb27ae3e
commit
a239d692a7
@ -843,7 +843,7 @@ function wpmu_create_user( $user_name, $password, $email) {
|
||||
}
|
||||
|
||||
function wpmu_create_blog($domain, $path, $title, $user_id, $meta = '', $site_id = 1) {
|
||||
$domain = preg_replace( '/\s+/', '', sanitize_key( $domain ) );
|
||||
$domain = preg_replace( '/\s+/', '', sanitize_user( $domain, true ) );
|
||||
|
||||
if ( is_subdomain_install() )
|
||||
$domain = str_replace( '@', '', $domain );
|
||||
|
Loading…
x
Reference in New Issue
Block a user