Ticket #22858: 22858.patch
File 22858.patch, 414 bytes (added by , 12 years ago) |
---|
-
wp-includes/user.php
1452 1452 1453 1453 // First, get all of the original fields 1454 1454 $user_obj = get_userdata( $ID ); 1455 if ( ! $user_obj ) 1456 return new WP_Error( 'invalid_user_id', __( 'Invalid user ID.' ) ); 1455 1457 1456 1458 $user = $user_obj->to_array(); 1457 1459