Skip to content

February 18, 2010

WordPress Activation Key

This is how WordPress uses the new user ID and an MD5 hash to generate the activation key

$newuser_key = substr( md5( $user_id ), 0, 5 );

Share your thoughts, post a comment.

(required)
(required)

Note: HTML is allowed. Your email address will never be published.

Subscribe to comments