Filter imported comments

git-svn-id: https://develop.svn.wordpress.org/trunk@12270 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2009-11-24 14:40:25 +00:00
parent 36b5b622f3
commit 64200ba296
4 changed files with 35 additions and 53 deletions
+1
View File
@@ -622,6 +622,7 @@ class Blogger_Import {
} else {
$comment = compact('comment_post_ID', 'comment_author', 'comment_author_url', 'comment_date', 'comment_content');
$comment = wp_filter_comment($comment);
$comment_id = wp_insert_comment($comment);
$this->blogs[$importing_blog]['comments'][$entry->old_permalink] = $comment_id;