WordPress password reset scripts first release

Last autumn, we created WordPress sites for a course in school. As the only purpose of these sites we installed were to upload work we created I figured I wouldn’t use the site often. I thought “I’ll probably remember my username and password as I’m good at remembering things but damn, there’s got to be a way to regain access to the site”. After some Googling the results were guides on how to reset the password using database details and phpMyAdmin (or similar tools).

Those in my class (that barely can install WordPress) and other not very computer savvy are not so likely going to be able to manually reset their passwords. So, I thought, let’s create a script for that. The first version simply inserted a new user using database details provided in some text fields, not very user friendly. So today, I decided to make an update so I made the script look for the wp-config.php file and get the details from the install. That way the user only has to enter the details for the new account (much more user friendly). Maybe something for the next version would be the ability to change password for existing users 🙂

Well, after that, I created a website for the script using the pretty much automated GitHub Pages generator and it was set 🙂

Check out the project @GitHub

Leave a Comment