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-activate.php

    r19593 r21413  
    7878            extract($result);
    7979            $url = get_blogaddress_by_id( (int) $blog_id);
    80             $user = new WP_User( (int) $user_id);
     80            $user = get_userdata( (int) $user_id);
    8181            ?>
    8282            <h2><?php _e('Your account is now active!'); ?></h2>
Note: See TracChangeset for help on using the changeset viewer.