Ticket #2858: 2858.2.patch
| File 2858.2.patch, 1.6 KB (added by , 11 years ago) |
|---|
-
trunk/includes/extend/akismet.php
162 162 'comment_author' => $user_data['name'], 163 163 'comment_author_email' => $user_data['email'], 164 164 'comment_author_url' => $user_data['website'], 165 'comment_content' => $post_data['post_content'],165 'comment_content' => trim( $post_data['post_title'] . "\n\n" . $post_data['post_content'] ), 166 166 'comment_post_ID' => $post_data['post_parent'], 167 167 'comment_type' => $post_data['post_type'], 168 168 'comment_total' => $user_data['total_posts'], … … 289 289 'comment_author' => $_post->post_author ? get_the_author_meta( 'display_name', $_post->post_author ) : get_post_meta( $post_id, '_bbp_anonymous_name', true ), 290 290 'comment_author_email' => $_post->post_author ? get_the_author_meta( 'email', $_post->post_author ) : get_post_meta( $post_id, '_bbp_anonymous_email', true ), 291 291 'comment_author_url' => $_post->post_author ? bbp_get_user_profile_url( $_post->post_author ) : get_post_meta( $post_id, '_bbp_anonymous_website', true ), 292 'comment_content' => $_post->post_content,292 'comment_content' => trim( $_post->post_title . "\n\n" . $_post->post_content ), 293 293 'comment_date' => $_post->post_date, 294 294 'comment_ID' => $post_id, 295 295 'comment_post_ID' => $_post->post_parent,