Fix mailed password, login link - http://mosquito.wordpress.org/view.php?id=838
git-svn-id: http://svn.automattic.com/wordpress/trunk@2245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
792146c8a6
commit
695b6499d0
|
@ -74,7 +74,7 @@ case 'register':
|
||||||
}
|
}
|
||||||
|
|
||||||
$message = __('Login') . ": $user_login\r\n";
|
$message = __('Login') . ": $user_login\r\n";
|
||||||
$message .= __('Password') . ": $new_pass\r\n";
|
$message .= __('Password') . ": $password\r\n";
|
||||||
$message .= get_settings('siteurl') . '/wp-login.php';
|
$message .= get_settings('siteurl') . '/wp-login.php';
|
||||||
|
|
||||||
wp_mail($user_email, sprintf(__("[%s] Your login information"), get_settings('blogname')), $message);
|
wp_mail($user_email, sprintf(__("[%s] Your login information"), get_settings('blogname')), $message);
|
||||||
|
@ -90,6 +90,11 @@ case 'register':
|
||||||
<title>WordPress » <?php _e('Registration Complete') ?></title>
|
<title>WordPress » <?php _e('Registration Complete') ?></title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo get_settings('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" />
|
<link rel="stylesheet" href="wp-admin/wp-admin.css" type="text/css" />
|
||||||
|
<style type="text/css">
|
||||||
|
.submit {
|
||||||
|
font-size: 1.7em;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
@ -98,10 +103,7 @@ case 'register':
|
||||||
<p><?php _e('Login:') ?> <strong><?php echo $user_login; ?></strong><br />
|
<p><?php _e('Login:') ?> <strong><?php echo $user_login; ?></strong><br />
|
||||||
<?php _e('Password:') ?> <strong>emailed to you</strong><br />
|
<?php _e('Password:') ?> <strong>emailed to you</strong><br />
|
||||||
<?php _e('E-mail:') ?> <strong><?php echo $user_email; ?></strong></p>
|
<?php _e('E-mail:') ?> <strong><?php echo $user_email; ?></strong></p>
|
||||||
<form action="wp-login.php" method="post" name="login">
|
<p class="submit"><a href="wp-login.php"><?php _e('Login'); ?> »</a></p>
|
||||||
<input type="hidden" name="log" value="<?php echo $user_login; ?>" />
|
|
||||||
<input type="submit" value="<?php _e('Login') ?>" name="submit" />
|
|
||||||
</form>
|
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue