WordPress.org

Make WordPress Core

Changeset 21938


Ignore:
Timestamp:
09/21/2012 12:57:26 PM (6 years ago)
Author:
ryan
Message:

Update comment_parent in wp_update_comment(). Props JustinSainton. fixes #21706

File:
1 edited

Legend:

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

    r21792 r21938  
    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
Note: See TracChangeset for help on using the changeset viewer.