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

View File

@@ -535,6 +535,7 @@ class LJ_API_Import {
// Parse this comment into an array and insert
$comment = $this->parse_comment( $comment );
$comment = wp_filter_comment( $comment );
$id = wp_insert_comment( $comment );
// Clear cache