Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 8bad565

Browse files
committed
Set comment_date_gmt.
1 parent 1585768 commit 8bad565

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

includes/class-linkbacks-mf2-handler.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ public static function generate_commentdata( $commentdata ) {
151151
} elseif ( isset( $properties['updated'] ) ) {
152152
$commentdata['comment_date'] = self::convert_time( $properties['updated'] );
153153
}
154+
$commentdata['comment_date_gmt'] = get_gmt_from_date($commentdata['comment_date']);
154155

155156
$author = null;
156157

0 commit comments

Comments
 (0)