WordPress.org

Make WordPress Core

Ticket #21706: 21706.patch

File 21706.patch, 771 bytes (added by JustinSainton, 3 years ago)
  • wp-includes/comment.php

     
    14841484        else if ( 'approve' == $comment_approved ) 
    14851485                $comment_approved = 1; 
    14861486 
    1487         $data = compact('comment_content', 'comment_author', 'comment_author_email', 'comment_approved', 'comment_karma', 'comment_author_url', 'comment_date', 'comment_date_gmt'); 
     1487        $data = compact( 'comment_content', 'comment_author', 'comment_author_email', 'comment_approved', 'comment_karma', 'comment_author_url', 'comment_date', 'comment_date_gmt', 'comment_parent' ); 
    14881488        $rval = $wpdb->update( $wpdb->comments, $data, compact( 'comment_ID' ) ); 
    14891489 
    14901490        clean_comment_cache($comment_ID);