[wp-trac] [WordPress Trac] #39953: REST API: Do not update date when preparing post if date is known to be "floating"

WordPress Trac noreply at wordpress.org
Mon Sep 23 17:39:47 UTC 2019


#39953: REST API: Do not update date when preparing post if date is known to be
"floating"
--------------------------------------+-----------------------
 Reporter:  jnylen0                   |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  5.3
Component:  REST API                  |     Version:  4.7
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  rest-api
--------------------------------------+-----------------------

Comment (by kadamwhite):

 In [changeset:"46252" 46252]:
 {{{
 #!CommitTicketReference repository="" revision="46252"
 REST API: Introduce date_floating property on status endpoint response
 objects.

 Expose a date_floating property on all status objects to permit clients
 (including the block editor) to make correct decisions about date handling
 for posts of varying status.

 Props mnelson4, earnjam, kadamwhite, jnylen0, nerrad, pento.
 See #39953.
 }}}

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


More information about the wp-trac mailing list