Thread Starter
Caio
(@umagrama)
This is where the problem is:
FILE: tpl-comment.php
LINE 173: if ( current_user_can(‘edit_comment’, $comment->comment_ID)) { … }
WordPress core doesn’t seem to support ‘edit_comment’ capability.
Thread Starter
Caio
(@umagrama)
Well, I replaced line 173 with
if ( current_user_can(‘edit_comment’, $comment->comment_ID) && ( current_user_can(‘administrator’) || current_user_can(‘editor’) ) ) { … }
Hi Bear,
The “Edit” link is an AJAX link which replaces the comment content to textarea then allows you to edit text and save, like it’s shown here: //ps.w.org/wpdiscuz/assets/screenshot-4.png?rev=1158718
However only for Admins and editors it redirects to Dashboard>Comments Edit page to allow use full editing options. So if it doesn’t work like I explained above then something wrong on your end. May be a Theme or Plugin conflict.