WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/18/2010 12:26:29 AM (9 years ago)
Author:
nacin
Message:

We don't want a populated WP_User object here. see #14642.

File:
1 edited

Legend:

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

    r16377 r16443  
    5656function edit_user( $user_id = 0 ) {
    5757    global $wp_roles, $wpdb;
    58     $user = new WP_User( $user_id );
     58    $user = new stdClass;
    5959    if ( $user_id ) {
    6060        $update = true;
Note: See TracChangeset for help on using the changeset viewer.