[wp-trac] [WordPress Trac] #38547: REST-API Json decode error will not give back an error
WordPress Trac
noreply at wordpress.org
Thu Nov 3 04:57:01 UTC 2016
#38547: REST-API Json decode error will not give back an error
---------------------------+---------------------
Reporter: danielhuesken | Owner: rmccue
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.7
Component: REST API | Version: 4.6.1
Severity: normal | Resolution: fixed
Keywords: | Focuses:
---------------------------+---------------------
Comment (by rmccue):
In [changeset:"39111"]:
{{{
#!CommitTicketReference repository="" revision="39111"
REST API: Only provide JSON error code on PHP 5.3+.
json_last_error() was only added to PHP 5.3.0, so we can't provide the
information for older versions.
See #38547.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38547#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list