[wp-trac] [WordPress Trac] #49252: REST API response not valid for null on 5.3.2
WordPress Trac
noreply at wordpress.org
Wed Feb 19 22:24:34 UTC 2020
#49252: REST API response not valid for null on 5.3.2
-------------------------------------+------------------------------
Reporter: jankadlec | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 5.3
Severity: normal | Resolution:
Keywords: reporter-feedback close | Focuses:
-------------------------------------+------------------------------
Changes (by TimothyBlynJacobs):
* keywords: reporter-feedback => reporter-feedback close
Comment:
Hi @jankadlec,
Sorry for the delay here. We are taking `null` to mean the absence of a
response here. I can see how that is unhelpful for your desired workflow.
But I don't think we'll be changing it at this time. My recommendation
would be to send a `204` response when the _meta field is not found.
Adding the close keyword, but if another maintainer feels differently feel
free to remove.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49252#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list