[wp-trac] [WordPress Trac] #39025: Date on draft post not changing to current time when draft is published
WordPress Trac
noreply at wordpress.org
Wed Dec 21 19:21:02 UTC 2016
#39025: Date on draft post not changing to current time when draft is published
-------------------------------+------------------------------
Reporter: carina.pilar | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 4.6.1
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------------+------------------------------
Comment (by jnylen0):
We see this issue in the REST API also. When you edit a draft in wp-admin
without setting the date, the `date_gmt` field is set to null/zero to
indicate that the draft's date should be updated each time the post is
modified.
Probably, in each of these cases, something is setting the `date_gmt`
field to a non-null value. See
https://core.trac.wordpress.org/ticket/5698#comment:14 for details.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39025#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list