mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 10:02:43 +01:00
Pass current network ID to domain_exists() in wpmu_validate_blog_signup(). props larysa, fixes #17303.
git-svn-id: https://develop.svn.wordpress.org/trunk@21853 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
93f6ea672e
commit
0b2a08728b
@ -589,7 +589,7 @@ function wpmu_validate_blog_signup($blogname, $blog_title, $user = '') {
|
||||
$mydomain = "$domain";
|
||||
$path = $base.$blogname.'/';
|
||||
}
|
||||
if ( domain_exists($mydomain, $path) )
|
||||
if ( domain_exists($mydomain, $path, $current_site->id) )
|
||||
$errors->add('blogname', __('Sorry, that site already exists!'));
|
||||
|
||||
if ( username_exists( $blogname ) ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user