I run a multi-author wordpress site where we have a large number of contributors that can write articles, which are published after they are reviewed by an editor. (This is all standard wordpress behaviour).

What I would like to do is give the contributors the ability to moderate comments on the posts which they write, but not on posts written by other people. I haven't found a way of doing this, either with a code snippet or plugin and am hoping that someone here knows how to make this work.


EDIT: I forgot to mention that I am running multisite.

Thanks again.


You can do that simple by using plugin User Role Editor. It is very easy to use.

  • Bad news. This doesn't work. I think the problem lies in the fact that contributors don't have the edit_posts capability after the post has been published, and 'edit_posts' is required for 'moderate_comments' to work. Is there a way to work around this? – ScruffyDan Oct 9 '13 at 22:14
  • After some recent experiences with the unfiltered_html capability I think the fact that I am running wordpress multisite might be important. I'll edit the original question to reflect this – ScruffyDan Oct 10 '13 at 7:47
  • oh, then this plugin is not useful for you. – John Doe Oct 10 '13 at 15:34
  • Did some more testing and it doesn't work in single site wordpress installations, so it isn't a wordpress multisite issue. Contributors with the moderate_comments capability can only moderate comments when they have the ability to edit the post. This isn't particularly useful since contributors have no ability to edit a published post. This is why achieving what I want would be easy if we were dealing with authors, since they can always edit their own posts. – ScruffyDan Oct 11 '13 at 2:08
  • In looking into map_meta_cap I found this talk by Erick Hitter and at 9:30 minutes he says that the fact that moderate comments is tied into edit_posts is a huge PITA. wordpress.tv/2013/07/07/… – ScruffyDan Oct 17 '13 at 18:42

protected by Community Apr 28 '16 at 19:27

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.