WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

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

share|improve this answer
Thanks, I'll give it a shot and update here. – ScruffyDan Oct 8 '13 at 22:11
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

protected by Community Apr 28 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.