Ticket #22858: user.diff
File user.diff, 414 bytes (added by , 12 years ago) |
---|
-
user.php
1452 1452 1453 1453 // First, get all of the original fields 1454 1454 $user_obj = get_userdata( $ID ); 1455 if (!$user_obj) return new WP_Error('invalid_user_ID', __('<strong>ERROR</strong>: Invalid user ID. User could not be updated.')); 1455 1456 1456 1457 $user = $user_obj->to_array(); 1457 1458