rhomelgiant
Member
Posted 10 months ago #
Hello,
I'm going to have to build small side-app for my WP blog. I will need to use my current WP credentials to log in.
To check against wp_users table, I need to know how WP processes passwords. Where could I find this? Is there a better approcah (such as using a WP Api?)
Best.
rh.
rhomelgiant
Member
Posted 10 months ago #
Is it possible that it's just a md5()?
Martin Lormes
Member
Posted 10 months ago #
I think you should look at wp-includes/pluggable.php:
WordPress uses PasswordHash::CheckPassword to verify passwords. The library referenced can be found in wp-includes/class-phpass.php or at http://www.openwall.com/phpass/
rhomelgiant
Member
Posted 10 months ago #
Perfect Martin.
It took me a coule of days to find the time to understand everything, but now everything's perfect!
Thank you so much.
You rock!