diff --git src/wp-includes/ms-functions.php src/wp-includes/ms-functions.php
index 09b48be..f60cd95 100644
|
|
|
function wpmu_validate_blog_signup( $blogname, $blog_title, $user = '' ) { |
| 715 | 715 | $errors->add( 'blogname', __( 'Sorry, that site already exists!' ) ); |
| 716 | 716 | } |
| 717 | 717 | |
| | 718 | // Check if the blogname matches an existing user's login name. |
| 718 | 719 | if ( username_exists( $blogname ) ) { |
| 719 | 720 | if ( ! is_object( $user ) || ( is_object( $user ) && ( $user->user_login != $blogname ) ) ) { |
| 720 | 721 | $errors->add( 'blogname', __( 'Sorry, that site is reserved!' ) ); |