remove extraneous blog name sanitization, props nbachiyski, fixes #12823
git-svn-id: http://svn.automattic.com/wordpress/trunk@14005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
dd1637ec7d
commit
7edc8acfb9
|
@ -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