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.
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!
Hi @yoelshortz,
wpDiscuz gets it from the display_name field in the wp_users table.
If this field is empty, it gets from the comment_author in the wp_comments