[wp-trac] [WordPress Trac] #38883: Shim post_date_gmt for drafts / empty dates in the REST API

WordPress Trac noreply at wordpress.org
Sun Nov 20 21:43:41 UTC 2016


#38883: Shim post_date_gmt for drafts / empty dates in the REST API
----------------------------------------+------------------------------
 Reporter:  joehoyle                    |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  REST API                    |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch has-unit-tests  |     Focuses:
----------------------------------------+------------------------------

Comment (by adamsilverstein):

 @joehoyle thanks for opening this ticket. I'd love to get this fixed so
 that drafts have actual gmt data, I see no reason they should not.

 According to the [https://core.trac.wordpress.org/ticket/5698#comment:14
 original discussion] in #5698 `The empty post_date_gmt is used as the
 marker to indicate that post_date should be updated to the current time
 when saved`. This may be the underlying use we need to address before
 adding actual gmt data to drafts.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38883#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list