[wp-trac] [WordPress Trac] #38494: WP REST API: Stale Post Status on DELETE of Post
WordPress Trac
noreply at wordpress.org
Wed Oct 26 01:01:51 UTC 2016
#38494: WP REST API: Stale Post Status on DELETE of Post
----------------------------+------------------------------
Reporter: timmydcrawford | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
----------------------------+------------------------------
Comment (by rmccue):
This was intentional, as it allows you to restore the post to its previous
state by sending that data back as a PUT. It is a tad confusing though.
The other response is when something cannot be trashed, and hence cannot
be restored.
I'm not sure this is the best behaviour.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38494#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list