Merge pull request #4647 from pfaffman/bbpress-missing-display-name

Bbpress missing display name
This commit is contained in:
Régis Hanol 2017-01-11 21:57:44 +01:00 committed by GitHub
commit fee5f082b8
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ class ImportScripts::Bbpress < ImportScripts::Base
id: u["id"].to_i,
username: u["user_nicename"],
email: u["user_email"].downcase,
name: u["display_name"],
name: u["display_name"].presence || u['user_nicename'],
created_at: u["user_registered"],
website: u["user_url"],
bio_raw: users_description[u["id"]],