Opened 3 years ago
Last modified 2 years ago
#14279 new defect (bug)
wp_new_comment ignores comment_date_gmt and comment_date
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Comments | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
wp_new_comment takes in a $comment array, but then ignores the comment_date and comment_date_gmt passed into it, instead replacing them with the current time.
It should only set them if the data passed in is empty or not a date/time.
Attachments (1)
Change History (3)
- Keywords needs-patch easy added
- Milestone changed from Awaiting Review to Future Release
solarissmoke — 2 years ago
comment:2
solarissmoke — 2 years ago
- Keywords has-patch added; needs-patch easy removed
Note: See
TracTickets for help on using
tickets.
