Add middle_name and flickr_username for users.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
45435f003e
commit
a79cdd3a92
|
@ -53,12 +53,15 @@ function wp_insert_user($userdata) {
|
|||
clean_user_cache($user_login);
|
||||
|
||||
update_usermeta( $user_id, 'first_name', $first_name);
|
||||
update_usermeta( $user_id, 'middle_name', $middle_name);
|
||||
update_usermeta( $user_id, 'last_name', $last_name);
|
||||
update_usermeta( $user_id, 'nickname', $nickname );
|
||||
update_usermeta( $user_id, 'description', $description );
|
||||
update_usermeta( $user_id, 'jabber', $jabber );
|
||||
update_usermeta( $user_id, 'aim', $aim );
|
||||
update_usermeta( $user_id, 'yim', $yim );
|
||||
update_usermeta( $user_id, 'flickr_username', $flickr_username );
|
||||
|
||||
|
||||
if ( !$update ) {
|
||||
$user = new WP_User($user_id);
|
||||
|
|
Loading…
Reference in New Issue