removed unused validation from activation process, see #13760
git-svn-id: http://svn.automattic.com/wordpress/trunk@15186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bca5ad62d0
commit
d2517b7b02
|
@ -688,7 +688,6 @@ function wpmu_activate_signup($key) {
|
||||||
$meta = unserialize($signup->meta);
|
$meta = unserialize($signup->meta);
|
||||||
$user_login = $wpdb->escape($signup->user_login);
|
$user_login = $wpdb->escape($signup->user_login);
|
||||||
$user_email = $wpdb->escape($signup->user_email);
|
$user_email = $wpdb->escape($signup->user_email);
|
||||||
wpmu_validate_user_signup($user_login, $user_email);
|
|
||||||
$password = wp_generate_password();
|
$password = wp_generate_password();
|
||||||
|
|
||||||
$user_id = username_exists($user_login);
|
$user_id = username_exists($user_login);
|
||||||
|
@ -722,7 +721,6 @@ function wpmu_activate_signup($key) {
|
||||||
return array('user_id' => $user_id, 'password' => $password, 'meta' => $meta);
|
return array('user_id' => $user_id, 'password' => $password, 'meta' => $meta);
|
||||||
}
|
}
|
||||||
|
|
||||||
wpmu_validate_blog_signup($signup->domain, $signup->title);
|
|
||||||
$blog_id = wpmu_create_blog( $signup->domain, $signup->path, $signup->title, $user_id, $meta, $wpdb->siteid );
|
$blog_id = wpmu_create_blog( $signup->domain, $signup->path, $signup->title, $user_id, $meta, $wpdb->siteid );
|
||||||
|
|
||||||
// TODO: What to do if we create a user but cannot create a blog?
|
// TODO: What to do if we create a user but cannot create a blog?
|
||||||
|
|
Loading…
Reference in New Issue