Solution to garbled text password retrieval
Update: WordPress 1.5 is the latest version, so this problem should be fixed. Upgrade today.
I haven’t seen too much mention of this in the WordPress forums, but I’m hoping people don’t have to find out the hard way at the same time.
If you’re using WordPress 1.2.1, there’s a slight problem with the wp-login.php file. Try and get a new password emailed to yourself. It’ll come back in a 104 (105?) string of characters, encoded in Base64. That’s definitely not the password. You can decode that and login, though.
Developer Ryan Boren pointed out the solution, but I’ll restate it.
In wp-login.php, around line 65, look for:
function wp_mail($to, $subject, $message, $headers = '', $more = '') {
Right below it should be an empty line. Insert the following:
mb_language('English');
Save the file and upload. When you reset your password, it won’t send it to you in Base64…it’ll be in English again.
Thanks to Carthik, Ryan, and podz!
2 Comments