Bluetrait Weblog

Bluetrait 1.2.1 Akismet Bug

Posted by Michael Dale on Sun, 18 Feb 2007 3:10 PM

There is a bug in Bluetrait 1.2.1 that means that the content of a comment isn't being sent to Akismet (if Akismet is enabled).

This reduces the effectiveness of the spam filtering.

If you'd like to quickly fix it now, do the following:

Open up include/spam.class.php and find line 94.

Line 94 should look like this:

$akismet->setCommentContent($this->comment['commentBody']);

Replace it with the following:

$akismet->setCommentContent($this->comment['comment_content']);

This will be fixed in the next version.

Comments?

HTML allowed: <a href="" title="" rel=""></a> <b></b> <blockquote cite=""></blockquote> <em></em> <i></i> <strike></strike> <strong></strong> <li></li> <ol></ol> <ul></ul>
ie: <b>bold</b>

Please note: you require cookies to be enabled on your computer to allow you to post. This is simply to stop spam. No personal information is stored. If for whatever reason you choose not to allow cookies your post will not be displayed until it passes "moderation".

Message:

Need to login? Click here

Name (optional)

Email (not shown)

WWW (optional)

Allow contact form email