Make WordPress Core


Ignore:
Timestamp:
11/10/2010 11:31:54 PM (14 years ago)
Author:
westi
Message:

Generate Human Readable passwords as they are much more userfriendly. Fixes #13324 props Otto42.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/upgrade.php

    r15670 r16284  
    6565    $email_password = false;
    6666    if ( !$user_id && empty($user_password) ) {
    67         $user_password = wp_generate_password();
     67        $user_password = wp_generate_password( 12, false );
    6868        $message = __('<strong><em>Note that password</em></strong> carefully! It is a <em>random</em> password that was generated just for you.');
    6969        $user_id = wp_create_user($user_name, $user_password, $user_email);
Note: See TracChangeset for help on using the changeset viewer.