WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/27/2010 05:55:39 PM (12 years ago)
Author:
ryan
Message:

Don't use deprecated functions. Props filosofo. fixes #11807

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/ms-edit.php

    r12806 r12878  
    490490            wp_die( __('Missing email.') );
    491491
    492         $password = generate_random_password();
     492        $password = wp_generate_password();
    493493        $user_id = wpmu_create_user(wp_specialchars( strtolower( $user['username'] ) ), $password, wp_specialchars( $user['email'] ) );
    494494
Note: See TracChangeset for help on using the changeset viewer.