[wp-hackers] Comment Moderation / Handling

Jamie intoxination at gmail.com
Thu May 1 13:12:00 GMT 2008

I just sent it to you. In the past I have tried to get around patching 
the core by doing a plugin on the capabilities filters. I never could 
get it to work. The problem is that you don't know the actual scope that 
edit_post is being checked for. Even trying to go off of the current 
page being viewed, it ends up enabling things like manage posts in the 
menu and other features you don't want, so the patch is the only way I 
know to get around it (short of totally removing WP comment moderation 
stuff and placing it in a plugin).

Jamie Holly

Colin Ogilvie wrote:
> > This is something I would love to see in the core. Right now I do
> patches for a few different sites to make moderate_comments a separate
> capability from edit_posts. That way they can have actual comment
> moderators take care of the discussions, which is a must on sites that
> get an average of 2,000 comments a day.
> >
> > I would say if this makes it into core, check for either the edit_post
> or moderate_comments capability. That should help with backwards
> compatibility. If this seems like something the powers to be want in the
> core, I already have a patch for it, which I use for the sites I take
> care of.
> Having 'edit_post' people being able to moderate comments doesn't really
> help in our particular case, I have to say.
> Could you possibly email me your patch?
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list