Make WordPress Core

Changeset 3662


Ignore:
Timestamp:
03/29/2006 08:41:13 PM (18 years ago)
Author:
ryan
Message:

Filter comments when updating. Props mdawaffe.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/comment-functions.php

    r3577 r3662  
    185185    // Merge old and new fields with new fields overwriting old ones.
    186186    $commentarr = array_merge($comment, $commentarr);
     187
     188    $commentarr = wp_filter_comment( $commentarr );
    187189
    188190    // Now extract the merged array.
Note: See TracChangeset for help on using the changeset viewer.