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:
matt 2005-08-30 23:21:25 +00:00
parent ab39a0e1ac
commit e4224f411b
1 changed files with 4 additions and 1 deletions

View File

@ -166,6 +166,9 @@ case 'adduser':
$message .= sprintf(__('E-mail: %s'), $new_user_email) . "\r\n"; $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); @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'); header('Location: users.php?update=add');
die(); die();
} }