From f2d2a05f49996d53596d9db62403808d030666ce Mon Sep 17 00:00:00 2001 From: Shady Sharaf Date: Mon, 30 Jun 2014 21:51:39 +0200 Subject: [PATCH] Clarify that Akismet automatically marked the comment as spam --- connectors/comments.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connectors/comments.php b/connectors/comments.php index 5236e822e..4a9797673 100644 --- a/connectors/comments.php +++ b/connectors/comments.php @@ -231,7 +231,7 @@ public static function callback_wp_insert_comment( $comment_id, $comment ) { $ak_last_comment = Akismet::get_last_comment(); if ( 'true' == $ak_last_comment['akismet_result'] ) { $is_spam = true; - $comment_status = __( 'marked as spam', 'stream' ); + $comment_status = __( 'automatically marked as spam by Akismet', 'stream' ); } } $comment_type = mb_strtolower( self::get_comment_type_label( $comment_id ) ); @@ -258,7 +258,7 @@ public static function callback_wp_insert_comment( $comment_id, $comment ) { '1: Comment author, 2: Post title 3: Comment status, 4: Comment type', 'stream' ), - compact( 'user_name', 'post_title', 'comment_status', 'comment_type', 'post_id' ), + compact( 'user_name', 'post_title', 'comment_status', 'comment_type', 'post_id', 'is_spam' ), $comment_id, array( $post_type => $is_spam ? 'spammed' : 'created' ), $user_id