WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/10/2010 11:31:54 PM (9 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/network/user-new.php

    r16272 r16284  
    3232        wp_die( __( 'Missing email.' ) );
    3333
    34     $password = wp_generate_password();
     34    $password = wp_generate_password( 12, false);
    3535    $user_id = wpmu_create_user( esc_html( strtolower( $user['username'] ) ), $password, esc_html( $user['email'] ) );
    3636
Note: See TracChangeset for help on using the changeset viewer.