Reset Password Bug: Patch and Fixed Files
After my last post on how to reset your WordPress password manually, people have asked for the patch and the changed files for the bug in 2.5.1. I’ve grabbed these files straight from Trac, so they should work (hopefully
).
Most users will want the changed files zip. To use this, extract the archive into your wordpress directory and upload wp-login.php and pluggable.php.
For users who wish to use the patch, I’ll assume you know how to do that
Edit: If this appears not to work, Doug has kindly worked out why and notes how to fix that. Thanks Doug!
Weblog Tools Collection » Blog Archive » Reset WP Password Manually
Trackback at 3:57 pm on April 27th, 2008WordPress 2.5.1: How to reset password manually » D' Technology Weblog: Technology, Blogging, Tips, Tricks, Computer, Hardware, Software, Tutorials, Internet, Web, Gadgets, Fashion, LifeStyle, Entertainment, News and more by Deepak Gupta.
Trackback at 4:54 pm on April 27th, 2008» WP 2.5.1 e il reset della password » WordPress Italy
Trackback at 5:39 pm on April 27th, 2008Disponibile WordPress 2.5.1 « Zanblog.it di Giorgio Zanetti
Trackback at 7:32 pm on April 27th, 2008Ripristinare la WP Password
Trackback at 9:19 pm on April 27th, 2008Soluciona el bug de WordPress 2.5.1 | Bitperbit
Trackback at 9:53 am on April 28th, 2008La actualizaciòn Wordpress 2.5.1, con un serio error… « Cultura Informàtica
Trackback at 11:52 am on April 28th, 2008Bug serio en Wordpress 2.5.1 | aNieto2K
Trackback at 4:28 pm on April 28th, 2008Noticias de Bitacoras.com » Bug en WordPress 2.5.1
Trackback at 7:17 pm on April 28th, 2008Bug grave en WordPress 2.5.1 | Pere MAJORAL
Trackback at 10:19 pm on April 28th, 2008Mucho cuidado con WordPress 2.5.1 « Helektron.com
Trackback at 10:55 pm on April 28th, 2008GraceViera.com » Blog Archive » Wordpress 2.5puntoUno
Trackback at 5:36 am on April 29th, 2008Wordpress 2.5.1 da problemas | Pichicola.com
Trackback at 9:14 am on April 29th, 2008MicroZulo » Blog Archive Wordpress 2.5.1 viene con bug »
Trackback at 9:51 am on April 29th, 2008Bug Grave en WordPress 2.5.1 | La Comunidad DragonJAR
Trackback at 10:36 am on April 29th, 2008Bug Grave en WordPress 2.5.1 | La Comunidad DragonJAR
Trackback at 10:36 am on April 29th, 2008Peligroso Bug para Wordpress 2.5.1 « blog NeTTinG
Trackback at 9:53 pm on April 29th, 2008WordPress 2.5.1 disponible…con todo y bug!| Life of a Webmaster| Rafael Villavizar
Trackback at 1:13 am on April 30th, 2008How to reset password in Wordpress | all-tutorials.info
Trackback at 1:03 am on May 1st, 2008WordPress 2.5.1 + more fixes [builder2]
Trackback at 9:50 pm on May 1st, 2008Il mondo di Paolettopn » Wordpress, problemi a resettare la propria password? Ecco la patch.
Trackback at 8:10 am on May 3rd, 2008SMV.es » Solucionar el bug de WordPress 2.5.1
Trackback at 10:38 pm on May 3rd, 2008This patch does not work for me.. what sould I do?
@Gigi: What do you mean by it “doesn’t work”?
I’m not having any luck with it either. It’s giving me the same key (including a ^) as it was before I uploaded the changed files, if that’s helpful.
Well, the patch is taken from the core WordPress patch, it *should* work.
Are you sure you’ve uploaded them correctly?
The WordPress Podcast » Episode 41: WordPress 2.5.1 released, Webware 100
Trackback at 1:03 pm on May 19th, 2008JERSEY-BARKER » Blog Archive » WordPress Podcast: Episode 41: WordPress 2.5.1 released, Webware 100
Trackback at 2:35 pm on May 19th, 2008I’ve uploaded the files, and they do not work for me either. I’m pretty confident that I did it right.
Well, I tried your manual reset the MySQL way, and that worked like a charm. Thanks a bunch!
Hmm, well, that’s a plus
SeventyEight » Blog Archive » Glömt password
Trackback at 9:29 pm on June 3rd, 2008The patch did not fix the problem for me either. Are you sure the patch contains the whole fix?
Indeed, I see additional patches are required, looking at the Trac ticket.
It appears that if the wp_users table already contains an activation key, it is not cleared before a new one is generated after installing the patch; thus, the patch appears to not work. In fact, it does.
After installing the patch:
For my account, the link in the reset email still contained an allegedly invalid key. When I had a colleague try, the activation key was indeed 20 characters and her email link did contain a valid key.
Next step is to remove my activation key from the wp_users table and try the password reset again.
Thanks for making the solution available!
Doug
Thanks Doug! I’ve added a link to your comment from the main post, which might help everyone this isn’t working for.
How/Where do I access and edit that wp-user table through the files?
P.S. : You’ll need to use phpMyAdmin or something like it, as it is in your database.