From 31cb6596517a402d82e4d3a52719b5b6db325256 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 29 Mar 2006 20:41:13 +0000 Subject: [PATCH] Filter comments when updating. Props mdawaffe. git-svn-id: http://svn.automattic.com/wordpress/trunk@3662 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/comment-functions.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-includes/comment-functions.php b/wp-includes/comment-functions.php index 2c6546d2af..1385952ded 100644 --- a/wp-includes/comment-functions.php +++ b/wp-includes/comment-functions.php @@ -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);