Filter comments when updating. Props mdawaffe.

git-svn-id: https://develop.svn.wordpress.org/trunk@3662 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2006-03-29 20:41:13 +00:00
parent 196da1e408
commit febb22fa7e
1 changed files with 2 additions and 0 deletions

View File

@ -185,6 +185,8 @@ function wp_update_comment($commentarr) {
// Merge old and new fields with new fields overwriting old ones.
$commentarr = array_merge($comment, $commentarr);
$commentarr = wp_filter_comment( $commentarr );
// Now extract the merged array.
extract($commentarr);