WordPress.org

Ready to get started?Download WordPress

Forums

How are passwords stored? (2 posts)

  1. KenIovino
    Member
    Posted 7 years ago #

    Hello,

    Rather then searching through all the wp files. I thought I would ask how user passwords are stored into the database. I'm creating a separate register page and I wanted to use this wp function:

    wp_create_user($username, $password, $email);

    Are the passwords stored using md5() and does using the above function do that for you?

    Thanks in advanced!

  2. drmike
    Member
    Posted 7 years ago #

    The passwords are stored via MD5. Take a look at the function wp_insert_user within wp-includes/registration.php

    Hope this helps,
    -drmike

Topic Closed

This topic has been closed to new replies.

About this Topic