[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
Thu Oct 4 18:06:51 UTC 2018
#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.0
Component: REST API | Version: 4.7
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: rest-api
--------------------------------------+-----------------------
Comment (by kadamwhite):
To clarify the renaming of the issue: as we can infer date_floating status
by comparing date and modified values when receiving an API response or
accepting an API update object, we will use that approach instead of
adding a date_floating flag. The desired behavior is now present in
Gutenberg following the merge of
https://github.com/wordPress/gutenberg/pull/9967 and the latest patch on
this ticket will ensure that other clients experience the same behavior
even when passing a full post object back to the server.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39953#comment:43>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list