Identities using the_author function
-
Hi,
I’m modofying the fspring theme.
For applying a diferent style for the author of the comment, it uses this code:
if(the_author('', false) == get_comment_author())
echo "<div class='commenttext-admin'>";
else
echo "<div class='commenttext'>";
The problem is that users can leave a comment using the nickname of the author, so, it’s not really useful.What I should add to the code for verifying that no one uses a registered nickname?
thanks in advance ??
- The topic ‘Identities using the_author function’ is closed to new replies.