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:
wpmuguru 2010-04-05 04:00:51 +00:00
parent dd1637ec7d
commit 7edc8acfb9
1 changed files with 0 additions and 1 deletions

View File

@ -543,7 +543,6 @@ function wpmu_validate_user_signup($user_name, $user_email) {
function wpmu_validate_blog_signup($blogname, $blog_title, $user = '') { function wpmu_validate_blog_signup($blogname, $blog_title, $user = '') {
global $wpdb, $domain, $base, $current_site; global $wpdb, $domain, $base, $current_site;
$blogname = preg_replace( "/\s+/", '', sanitize_user( $blogname, true ) );
$blog_title = strip_tags( $blog_title ); $blog_title = strip_tags( $blog_title );
$blog_title = substr( $blog_title, 0, 50 ); $blog_title = substr( $blog_title, 0, 50 );