#33776 closed enhancement (maybelater)
Remove json_encode/json_decode and Services_JSON compat
Reported by: | Rahe | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.4 |
Component: | External Libraries | Keywords: | |
Focuses: | Cc: |
Description
Hi,
since PHP 5.2 is the minimum version and json extension is bundled and compiled by default (http://php.net/manual/en/json.installation.php) maybe we should considering to remove this compat from the core.
It has been restored 4 years ago (https://core.trac.wordpress.org/ticket/18015) but since the minimal version is 5.2 so this can be done IMHO.
Change History (3)
Note: See
TracTickets for help on using
tickets.
Unfortunately the extension can be disabled via the
--disable-all
and I believe--disable-json
in older versions of PHP. Until we bump the minimum requirement to (IIRC, PHP 5.3) we need to keep the compat library around.