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!

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

38 Responses to “Reset Password Bug: Patch and Fixed Files”

  1. Weblog Tools Collection » Blog Archive » Reset WP Password Manually

  2. WordPress 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.

  3. » WP 2.5.1 e il reset della password » WordPress Italy

  4. Disponibile WordPress 2.5.1 « Zanblog.it di Giorgio Zanetti

  5. Ripristinare la WP Password

  6. Soluciona el bug de WordPress 2.5.1 | Bitperbit

  7. La actualizaciòn Wordpress 2.5.1, con un serio error… « Cultura Informàtica

  8. Bug serio en Wordpress 2.5.1 | aNieto2K

  9. Noticias de Bitacoras.com » Bug en WordPress 2.5.1

  10. Bug grave en WordPress 2.5.1 | Pere MAJORAL

  11. Mucho cuidado con WordPress 2.5.1 « Helektron.com

  12. GraceViera.com » Blog Archive » Wordpress 2.5puntoUno

  13. Wordpress 2.5.1 da problemas | Pichicola.com

  14. MicroZulo » Blog Archive Wordpress 2.5.1 viene con bug »

  15. Bug Grave en WordPress 2.5.1 | La Comunidad DragonJAR

  16. Bug Grave en WordPress 2.5.1 | La Comunidad DragonJAR

  17. Peligroso Bug para Wordpress 2.5.1 « blog NeTTinG

  18. WordPress 2.5.1 disponible…con todo y bug!| Life of a Webmaster| Rafael Villavizar

  19. How to reset password in Wordpress | all-tutorials.info

  20. WordPress 2.5.1 + more fixes [builder2]

  21. Il mondo di Paolettopn » Wordpress, problemi a resettare la propria password? Ecco la patch.

  22. SMV.es » Solucionar el bug de WordPress 2.5.1

  23. Gigi

    This patch does not work for me.. what sould I do?

  24. Ryan McCue

    @Gigi: What do you mean by it “doesn’t work”?

  25. Stuart Robertson

    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.

  26. Ryan McCue

    Well, the patch is taken from the core WordPress patch, it *should* work.

    Are you sure you’ve uploaded them correctly?

  27. The WordPress Podcast » Episode 41: WordPress 2.5.1 released, Webware 100

  28. JERSEY-BARKER » Blog Archive » WordPress Podcast: Episode 41: WordPress 2.5.1 released, Webware 100

  29. jay

    I’ve uploaded the files, and they do not work for me either. I’m pretty confident that I did it right.

  30. jay

    Well, I tried your manual reset the MySQL way, and that worked like a charm. Thanks a bunch!

  31. Ryan McCue

    Hmm, well, that’s a plus :P

  32. SeventyEight » Blog Archive » Glömt password

  33. Antti-Juhani Kaijanaho

    The patch did not fix the problem for me either. Are you sure the patch contains the whole fix?

  34. Antti-Juhani Kaijanaho

    Indeed, I see additional patches are required, looking at the Trac ticket.

  35. Doug

    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

  36. Ryan McCue

    Thanks Doug! I’ve added a link to your comment from the main post, which might help everyone this isn’t working for.

  37. P.S.

    How/Where do I access and edit that wp-user table through the files?

  38. Ryan McCue

    P.S. : You’ll need to use phpMyAdmin or something like it, as it is in your database.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Hi. I live here to keep the peace. You can ignore me now :)