Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed. We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

Where does wpDiscuz get the name of a logged-in commenter

2 Posts
2 Users
1 Reactions
2,377 Views
(@yoelshortz)
Active Member
Joined: 7 years ago
Posts: 6
Topic starter  

Hi,

I'm not sure if I've found a bug. Can someone please tell me where wpDiscuz gets the name of a logged-in commenter? The name of the SQL table and column is what I'm looking for.
Check out the attached screenshot to see what name I'm referring to.

For some reason, it looks like wpDiscuz takes the nicename for some users and the first name+last name for others, and the email for others.

I don't understand why this is happening so I would like to check the values in the database, but it doesn't look like wpDiscuz is taking it from where I think it is.

 

Thanks!

The Detainee s Tale as told to Ali Smith   Ali Smith   The Short Story Project
This topic was modified 7 years ago by shortstory

   
Quote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 8 years ago
Posts: 6444
 

Hi @yoelshortz,

wpDiscuz gets it from the display_name field in the wp_users table.

display name

If this field is empty, it gets from the  comment_author  in the wp_comments

comment author

   
shortstory reacted
ReplyQuote
Share:
Scroll to top