Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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.

Thanks

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

Thanks again.

share|improve this question

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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