Opened 2 years ago
Last modified 2 years ago
#15946 new defect (bug)
post_date_gmt ignored in wp_insert_post()
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | General | Version: | 3.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
If a post is inserted with post_date_gmt set and post_date not, post_date defaults to the current date/time, rather than being generated from post_date_gmt
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
Generate post date from GMT if present and remove redundant part of if() clause