• When you set to a role the permission edit_published_posts , a logical thing is to except the system will let the role edit his posts. But it let the user to edit his/her post’s comments.
    Is there any way to make this available only to edit posts and not to comments?

    Thank you all!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Nikolas

    (@kordellas)

    I found this but did not found me the solution
    $user_id == $post_author || $user->has_cap(‘moderate_comments’)

    I guess it’s like removing the “if he has moderate comments capabilities” and leaving only if he is the author maybe?

    anyone?

    Thread Starter Nikolas

    (@kordellas)

    didn’t find anything yet..
    any help ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Make edit_published_posts not to edit comments’ is closed to new replies.