Make WordPress Core

Changeset 12878


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

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

Location:
trunk/wp-admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/load-scripts.php

    r12214 r12878  
    1616 */
    1717function __() {}
    18 
    19 /**
    20  * @ignore
    21  */
    22 function _c() {}
    2318
    2419/**
  • trunk/wp-admin/load-styles.php

    r12214 r12878  
    1616 */
    1717function __() {}
    18 
    19 /**
    20  * @ignore
    21  */
    22 function _c() {}
    2318
    2419/**
  • 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.