Forum Replies Created

Viewing 1 replies (of 1 total)
  • I, too, have a related question. I have a section of my site using home-rolled software that doesn’t use any of the WP includes. But I’d like to be able to use WP for admin log-in (don’t need it for users). That means I need my software to know when admin is logged in, which I presume WP achieves using the cookies. I used to be able to take the info from the cookie, hash the has and compare this with the wp_user table. But all this salting of hashes has made life more difficult.

    Is there any way to take the info from the cookies and compare this with the DB to see if a user is logged in? I presume WP does this itself, but is there any kind of API for this? Presumably, $wp_hasher->CheckPassword($password, $hash); works only with plain text passwords…

Viewing 1 replies (of 1 total)