[wp-trac] [WordPress Trac] #39256: REST API: Multiple issues with setting dates of posts

WordPress Trac noreply at wordpress.org
Tue Feb 21 02:15:50 UTC 2017


#39256: REST API: Multiple issues with setting dates of posts
---------------------------------------------+-----------------------
 Reporter:  jnylen0                          |       Owner:  jnylen0
     Type:  defect (bug)                     |      Status:  accepted
 Priority:  normal                           |   Milestone:  4.7.3
Component:  REST API                         |     Version:  4.7
 Severity:  major                            |  Resolution:
 Keywords:  has-unit-tests has-patch commit  |     Focuses:
---------------------------------------------+-----------------------
Changes (by jnylen0):

 * keywords:  has-unit-tests has-patch => has-unit-tests has-patch commit


Comment:

 Replying to [comment:13 dd32]:
 > Replying to [comment:12 jnylen0]:
 > It looks like altering the function to simply handle a timezone on the
 input string is sane, without deprecating or adding an extra flag.

 [attachment:39256.5.diff] does just that.  I'll commit this tomorrow in
 the absence of further comments.

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


More information about the wp-trac mailing list