[wp-hackers] Addition to check_comment(): return false if thepost is older than 21 days

Owen Winkler ringmaster at midnightcircus.com
Fri Oct 1 19:59:02 UTC 2004


Ryan Boren wrote:

> What we should probably do is allow people to replace check_comment in its
> entirety so that they can implement their own moderation policy wholesale.
>  This means only one moderation policy plugin could be active.  This is
> the easiest way to handle it and avoids getting into implementing an
> authentication stack.

This is better than simply stuffing everybody's schemes into the core. 
I might prefer to see a way to implement more than one filter (as 
complicated as that now appears to be), but this will produce better 
results for me than having to hack *out* moderation features that don't 
meet my needs.

If someone felt ambitious, they could even build a plugin-compatible 
scheme that lays on top of this layer.  The key is that the layer exists 
to hook into.

Good idea, Ryan.

Owen





More information about the hackers mailing list