Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the gVectors community!

Merry Christmas and Happy Holidays! 🎄

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

2 Posts
2 Users
1 Reactions
2,690 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: 6581
 

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