[wp-trac] [WordPress Trac] #35009: Function json_last_error_msg() is not compatible with those in PHP 5.5
WordPress Trac
noreply at wordpress.org
Fri Dec 11 12:24:14 UTC 2015
#35009: Function json_last_error_msg() is not compatible with those in PHP 5.5
-------------------------------+------------------------------
Reporter: upsell | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.4
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Changes (by TobiasBg):
* keywords: => reporter-feedback
Comment:
Thanks a lot for your report, upsell!
According to the [http://php.net/json_last_error_msg PHP Documentation],
`json_last_error_msg()` returns the string "No error" if there was no
error, just as the compatibility function in WordPress does.
Can you therefore maybe clarify what you mean with "should null" here?
Thanks!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35009#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list