WordPress Activation Key

by

in , ,

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 );

Recent Posts