• Thank you for your help with this great plugin.

    My only concern was that the user’s email address (username) was the default display name, so would be exposed when they’re making comments. Instead, I opted to change the display_name to firstName lastName.

    To do so, I modified line 481 of includes/lib/PkliLogin.php

    $result = wp_update_user(array('ID' => $user_id, 'first_name' => $first_name, 'last_name' => $last_name, 'description' => $description, 'user_url' => $linkedin_url, 'display_name' => $first_name .' '. $last_name));

    Again, thanks for your hard work, especially in keeping up with LinkedIn’s oAuth 2.0 requirements, which seem to be plaguing the majority of social login plugins.

  • The topic ‘Default Display Name’ is closed to new replies.