Wordpress MD5 Password Wordpress MD5 Password wordpress wordpress

Wordpress MD5 Password


The most sensible solution would simply be to use the relevant WordPress function (wp_generate_password) itself.

However, if this isn't an option, you could simply extract the wp_generate_password function (it's in /wp-includes/pluggable.php) and relevant support functions.


Wordpress uses phpass hashing, which is different from MD5.


The easiest way to create the password is ...

  1. to use any rubbish as entry in the MySQL table for user_pass, but acorrect email.
  2. Use the "forgot password" function in the login panel to generate a correct password (or activate this link automatically to notify the user).

Don't forget to copy a "wp_capabilities" and a "wp_user_level" from another account.