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:
parent
196da1e408
commit
febb22fa7e
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user