mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 07:36:58 +00:00
Filter imported comments
git-svn-id: https://develop.svn.wordpress.org/trunk@12270 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user