Issues with comments
-
Hi,
There are two issues with comments in the theme:
It is impossible to leave a comment even when the user is logged in. In comments.php L.45, the code tries to know if the user is logged into the site using $user_ID but this is undefined as of latest WordPress version (6.5.3). Therefore, logged user are not shown the comment box. This can easily be fixed by replacing $user_ID by the is_user_logged_in() function.
In case the user is not logged in, it is supposed to have a message with a link to easily log in, however the message is escaped, therefore the <a> tag isn’t rendered.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.