Make WordPress Core


Ignore:
Timestamp:
08/03/2012 01:06:05 AM (12 years ago)
Author:
nacin
Message:

Move most instances of new WP_User to get_userdata(). see #21120.

File:
1 edited

Legend:

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

    r21333 r21413  
    321321 */
    322322function wp_new_blog_notification($blog_title, $blog_url, $user_id, $password) {
    323     $user = new WP_User($user_id);
     323    $user = new WP_User( $user_id );
    324324    $email = $user->user_email;
    325325    $name = $user->user_login;
Note: See TracChangeset for help on using the changeset viewer.