All Narfed Up photography and words by Bryan Villarin

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!

 

6 Comments

Thanks for the infomation. I plan up doing the upgrade sometime soon, and I wouldn’t have known about the issue if I had not visited your blog.

Your blog is great… Much infomation, plus the importent WP infomation. God knows I wouldn’t visit WP to get the same infomation.

As always you remain awesome

The world is a better place with you :-P

Thanks
– Anthony

Posted by Anthony on 13 November 2004 @ 7pm

Thanks Anth! I’m glad I can help you out. Let me know if you need any help upgrading to the latest stable version of WordPress. :)

Posted by Bryan on 13 November 2004 @ 8pm

i am having this problem now. with 2.7, do you know a fix?

Posted by free g1 on 17 December 2008 @ 8pm

Hello- I requested my password and one was mailed to me. That works fine, but I’ll never remember the new password. How do I change it to something I can remember? Thanks.

Posted by Tim Luckadoo on 15 February 2009 @ 4pm

@Tim Luckadoo – Go to your profile page in WP Dashboard and scroll to the bottom. (v2.7.1)

Posted by Bryan Villarin on 15 February 2009 @ 5pm

@Judy: Try clicking “forgot password.” For more help, go to the WordPress Support Forums.

Posted by Bryan Villarin on 7 March 2009 @ 9am

Leave a Comment

Live Plays on Leno Gee-Mail Invites