[wp-trac] [WordPress Trac] #39954: REST API: Improve date updates if both `date` and `date_gmt` are set
WordPress Trac
noreply at wordpress.org
Thu Feb 23 20:19:31 UTC 2017
#39954: REST API: Improve date updates if both `date` and `date_gmt` are set
-------------------------+------------------------------
Reporter: jnylen0 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 4.7
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Comment (by nerrad):
I would prefer either:
- if both are specified, prefer gmt value over date value.
OR
- throw an error if both are specified.
From a back compat standpoint, the latter option seems safer.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39954#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list