[wp-trac] [WordPress Trac] #38547: REST-API Json decode error will not give back an error
WordPress Trac
noreply at wordpress.org
Fri Oct 28 13:45:21 UTC 2016
#38547: REST-API Json decode error will not give back an error
---------------------------+------------------------------
Reporter: danielhuesken | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 4.6.1
Severity: normal | Resolution:
Keywords: | Focuses:
---------------------------+------------------------------
Comment (by joehoyle):
Thanks @danielhuesken for the report! This seems legitimate to me.
Throwing an error would help a lot for API clients that send malformed
JSON - however we'll (maybe) want to make sure that if you send _both_ (I
don't even know if that's possible) that we don't have a BC issue.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38547#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list