• Resolved ngoncalves

    (@ngoncalves)


    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.

    In this screenshot, you can see I am logged in as a user, yet I am still shown the message as if I was not. You can also see that the login link is escaped and not rendered as it should.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author themearile

    (@themearile)

    Hi ngoncalves

    Thanks for pointing out.

    We have released the new version of the theme now you can update your theme and check your site.

    Let me know if it works.

    Thanks

    Thread Starter ngoncalves

    (@ngoncalves)

    All good. Thanks for the the quick fix. I’ve marked this as resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.