SMH.
git-svn-id: https://develop.svn.wordpress.org/trunk@24155 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
eaf182d4b4
commit
4c923807e5
@ -562,7 +562,7 @@ function wpmu_validate_blog_signup($blogname, $blog_title, $user = '') {
|
||||
if ( strlen( $blogname ) < 4 && !is_super_admin() )
|
||||
$errors->add('blogname', __( 'Site name must be at least 4 characters.' ) );
|
||||
|
||||
if ( strpos( ' ' . $blogname, '_' ) != false )
|
||||
if ( strpos( $blogname, '_' ) !== false )
|
||||
$errors->add( 'blogname', __( 'Sorry, site names may not contain the character “_”!' ) );
|
||||
|
||||
// do not allow users to create a blog that conflicts with a page on the main blog.
|
||||
|
Loading…
Reference in New Issue
Block a user