[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:35:27 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 joehoyle):

 Also worth mentioning - I didn't put in any update logic for the shim yet,
 but I'm not sure if we can, as currently we actually support updating the
 `post_date_gmt` field on drafts to something other than zero'd dates.

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


More information about the wp-trac mailing list