[wp-hackers] Re: [spam-stopper] New plugin version
Scot Hacker
shacker at birdhouse.org
Tue Oct 17 20:24:28 GMT 2006
> From: Roland Haeder <r.haeder at will-hier-weg.de>
>
> } elseif ($totalSpamRating > 0) {
> // Send it to the admin as "approved"
> do_action('comment_rating_approve', $comment_ID);
> return '1';
> }
I would recommend that *negative* spam rankings = less spammy, like
SpamAssassin does. So
elseif ($totalSpamRating < 0) {
And things like whitelisting give the message a -100 score, etc. Just
for semantic consistency with other systems.
Scot
More information about the wp-hackers
mailing list