mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Migration to get_settings
git-svn-id: https://develop.svn.wordpress.org/trunk@956 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+5
-5
@@ -104,17 +104,17 @@ case 'register':
|
||||
$stars .= '*';
|
||||
}
|
||||
|
||||
$message = "New user registration on your blog $blogname:\r\n\r\n";
|
||||
$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, "[$blogname] New User Registration", $message);
|
||||
@mail($admin_email, '[' . get_settings('blogname') . '] New User Registration', $message);
|
||||
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>WordPress » Registration Complete</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $blog_charset; ?>" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo get_settings('blog_charset'); ?>" />
|
||||
<link rel="stylesheet" href="wp-admin/wp-admin.css" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
@@ -142,7 +142,7 @@ case 'disabled':
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>WordPress » Registration Currently Disabled</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $blog_charset; ?>">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo get_settings('blog_charset'); ?>">
|
||||
<link rel="stylesheet" href="wp-admin/wp-admin.css" type="text/css">
|
||||
</head>
|
||||
|
||||
@@ -168,7 +168,7 @@ default:
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>WordPress » Registration Form</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $blog_charset; ?>" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo get_settings('blog_charset'); ?>" />
|
||||
<link rel="stylesheet" href="wp-admin/wp-admin.css" type="text/css" />
|
||||
</head>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user