Skip to content

Commit

Permalink
Merge pull request #85 from hlgott1593/comment-sync-date-bug
Browse files Browse the repository at this point in the history
Comments showing sync date instead of creation date in wordpress admin
  • Loading branch information
dmatt authored Dec 15, 2020
2 parents bbdc1f9 + f66db94 commit a0c2a3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions disqus/rest-api/class-disqus-rest-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -806,6 +806,7 @@ private function comment_data_from_post( $post ) {
'comment_author_IP' => $post['ipAddress'],
'comment_author_url' => isset( $author['url'] ) ? $author['url'] : '',
'comment_content' => $post['raw_message'],
'comment_date' => $post['createdAt'],
'comment_date_gmt' => $post['createdAt'],
'comment_type' => '', // Leave blank for a regular comment.
'comment_parent' => $parent,
Expand Down

0 comments on commit a0c2a3e

Please sign in to comment.