remove extraneous blog name sanitization, props nbachiyski, fixes #12823
git-svn-id: https://develop.svn.wordpress.org/trunk@14005 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2d028e668f
commit
8ead991585
@ -543,7 +543,6 @@ function wpmu_validate_user_signup($user_name, $user_email) {
|
||||
function wpmu_validate_blog_signup($blogname, $blog_title, $user = '') {
|
||||
global $wpdb, $domain, $base, $current_site;
|
||||
|
||||
$blogname = preg_replace( "/\s+/", '', sanitize_user( $blogname, true ) );
|
||||
$blog_title = strip_tags( $blog_title );
|
||||
$blog_title = substr( $blog_title, 0, 50 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user