Ticket #30627: 30627.patch
File 30627.patch, 823 bytes (added by , 10 years ago) |
---|
-
wp-includes/comment.php
2234 2234 2235 2235 $comment_ID = $data['comment_ID']; 2236 2236 $comment_post_ID = $data['comment_post_ID']; 2237 $keys = array( 'comment_content', 'comment_author', 'comment_author_email', 'comment_approved', 'comment_karma', 'comment_author_url', 'comment_date', 'comment_date_gmt', 'comment_ parent' );2237 $keys = array( 'comment_content', 'comment_author', 'comment_author_email', 'comment_approved', 'comment_karma', 'comment_author_url', 'comment_date', 'comment_date_gmt', 'comment_type', 'comment_parent' ); 2238 2238 $data = wp_array_slice_assoc( $data, $keys ); 2239 2239 $rval = $wpdb->update( $wpdb->comments, $data, compact( 'comment_ID' ) ); 2240 2240