Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

What does global $wp_hasher check for By the following check?

global $wp_hasher;

    if ( empty($wp_hasher)

Is it to look if the user_pass filed contains the hashed password or not? How do I check if the user_pass got the password hash or not in the wp_hash_password function, while overwriting it from plugin?

share|improve this question
See here for more informtation. In short: if $wp_hasher is empty (i.e., not set), WP uses the default implementation. If you want to use something different, that (i.e., $wp_hasher) is what you alter. – t f Mar 14 at 23:29

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.