Make WordPress Core

Changes between Version 3 and Version 5 of Ticket #40399


Ignore:
Timestamp:
08/22/2019 06:49:30 PM (6 years ago)
Author:
kadamwhite
Comment:

You should absolutely be able to PUT back the response from a GET request.

Agreed; assigning to Future Release, if anybody's keen to own this one it'd be a good thing to sort out in the next couple releases.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #40399

    • Property Milestone changed from Awaiting Review to Future Release
  • Ticket #40399 – Description

    v3 v5  
    99}}}
    1010
    11 It's clear in the documentation that post_status="inherit" isn't supported by the REST API for Media endpoints but I'm not sure if this is a bug or merely an oversight. My feeling is that since Wordpress supports and sets attachments to "inherit" as a post_status, that the API should accept that, particularly when it's perfectly happy to deliver that status to me on a GET request.
     11It's clear in the documentation that post_status="inherit" isn't supported by the REST API for Media endpoints but I'm not sure if this is a bug or merely an oversight. My feeling is that since WordPress supports and sets attachments to "inherit" as a post_status, that the API should accept that, particularly when it's perfectly happy to deliver that status to me on a GET request.