WordPress.org

Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#3503 closed defect (bug) (fixed)

updating comment date does not update comment_date_gmt column

Reported by: mm6 Owned by:
Milestone: 2.1 Priority: normal
Severity: normal Version: 2.1
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

Updating a comment date using the admin interface does not update the
comment_date_gmt column in the database. This leads to a discrepancy between
the comment_date and comment_date_gmt columns in wp_comments.

Attachments (2)

comment-functions.diff (778 bytes) - added by mm6 11 years ago.
update comment_date_gmt when editing a comment
comment.php.diff (999 bytes) - added by mm6 11 years ago.
patch against latest trunk to update comment_date_gmt column when updating a comment

Download all attachments as: .zip

Change History (5)

@mm6
11 years ago

update comment_date_gmt when editing a comment

@mm6
11 years ago

patch against latest trunk to update comment_date_gmt column when updating a comment

#1 @mm6
11 years ago

  • Keywords has-patch added

#2 @foolswisdom
11 years ago

  • Milestone changed from 2.2 to 2.1
  • Version set to 2.1

#3 @ryan
11 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [4705]) Update comment date gmt when updating comment date. Props mm6. fixes #3503

Note: See TracTickets for help on using tickets.