I was following the Comments template from A to Z tutorial to create a new comment section. I wanted to use the “Is Comment Author” condition to display the comment “Edit” button and “Comment under moderation” message only if the current user is the comment author, but for some reason “Is Comment Author” never evaluates to true.
Step-by-step reproduction instructions:
- Create a comments query
- Insert a div inside the query template
- Apply the following condition to the div
The block never appears on the frontend, even when the current user is the comment author.
- WordPress version: 6.3.1
- Cwicly Plugin version: 188.8.131.52