Fixes #1567 for 1.6
git-svn-id: http://svn.automattic.com/wordpress/trunk@2829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ab39a0e1ac
commit
e4224f411b
|
@ -166,6 +166,9 @@ case 'adduser':
|
|||
$message .= sprintf(__('E-mail: %s'), $new_user_email) . "\r\n";
|
||||
|
||||
@wp_mail(get_settings('admin_email'), sprintf(__('[%s] New User Registration'), get_settings('blogname')), $message);
|
||||
|
||||
do_action('user_register', $user_id);
|
||||
|
||||
header('Location: users.php?update=add');
|
||||
die();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue