Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28426
Modified Files:
wfwcomment.php
Log Message:
Upgrade spamblock plugin to reject/moderate incoming trackbacks/wfwcomments seperately from other comments
Index: wfwcomment.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/wfwcomment.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- wfwcomment.php 26 Jan 2005 16:03:28 -0000 1.6
+++ wfwcomment.php 27 Jan 2005 12:46:20 -0000 1.7
@@ -16,7 +16,7 @@
$comment['name'] = utf8_decode($names[2]);
$comment['email'] = utf8_decode($names[1]);
} else {
- $comment['name'] = utf8_decode($names[1]);
+ $comment['name'] = utf8_decode($name[1]);
}
}
@@ -32,8 +32,9 @@
}
if (!empty($comment['comment'])) {
- serendipity_saveComment($_REQUEST['cid'], $comment, 'NORMAL');
+ serendipity_saveComment($_REQUEST['cid'], $comment, 'NORMAL', 'API');
}
}
}
+
?>
|