Make WordPress Core

Ticket #30627: 30627.patch

File 30627.patch, 823 bytes (added by desaiuditd, 10 years ago)

update comment type patch for #30627

  • wp-includes/comment.php

     
    22342234
    22352235        $comment_ID = $data['comment_ID'];
    22362236        $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' );
    22382238        $data = wp_array_slice_assoc( $data, $keys );
    22392239        $rval = $wpdb->update( $wpdb->comments, $data, compact( 'comment_ID' ) );
    22402240