mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-30 18:24:31 +00:00
Migration to get_settings and away from globals.
git-svn-id: https://develop.svn.wordpress.org/trunk@957 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -78,7 +78,7 @@ case 'adduser':
|
||||
('$user_login', MD5('$pass1'), '$user_nickname', '$user_email', '$user_ip', '$user_domain', '$user_browser', '$now', '$new_users_can_blog', 'nickname', '$user_firstname', '$user_lastname', '$user_nicename')");
|
||||
|
||||
if ($result == false) {
|
||||
die ('<strong>ERROR</strong>: Couldn’t register you... please contact the <a href="mailto:'.$admin_email.'">webmaster</a> !');
|
||||
die ('<strong>ERROR</strong>: Couldn’t register you!');
|
||||
}
|
||||
|
||||
$stars = '';
|
||||
@@ -89,7 +89,7 @@ case 'adduser':
|
||||
$message = 'New user registration on your blog ' . get_settings('blogname') . ":\r\n\r\n";
|
||||
$message .= "Login: $user_login\r\n\r\nE-mail: $user_email";
|
||||
|
||||
@mail($admin_email, '[' . get_settings('blogname') . '] New User Registration', $message);
|
||||
@mail(get_settings('admin_email'), '[' . get_settings('blogname') . '] New User Registration', $message);
|
||||
header('Location: users.php');
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user