[wp-trac] [WordPress Trac] #27799: json_last_error is not provided by JSON compatibility layer
WordPress Trac
noreply at wordpress.org
Mon Apr 14 14:39:57 UTC 2014
#27799: json_last_error is not provided by JSON compatibility layer
--------------------------+-----------------------------
Reporter: rmccue | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
The [http://php.net/json_last_error json_last_error] function isn't
provided in `wp-includes/compat.php` with the rest of the JSON
compatibility functions, despite being available in PHP's JSON since 5.3.
Looking into this, it *should* be trivial to add error handling, but
possibly non-trivial for exact compatibility with PHP.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27799>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list