Support » Fixing WordPress » User capability to Approve but not Edit comments

  • Hello,
    I’m trying to add a User role with capabilities to Approve comments but not Edit or Remove them. I’m using the add_role function which works fine. The new role shows up and I can make sure the user can add links or upload media etc.

    However I can’t seem to get the capability
    edit_comment = false and moderate_comments = true to work. For some reason it all comes down to another capability called edit_published_posts. When i set this to false the user can’t edit/delete comments or approve them. And of course can’t edit published posts. When I set it to true the user can do all of those things.

    Has anyone else come across this? Is it a know issue?

    Any help would be very appriciated


  • The topic ‘User capability to Approve but not Edit comments’ is closed to new replies.