[wp-trac] [WordPress Trac] #47699: Remove redundant JSON polyfills for PHP native functionality
WordPress Trac
noreply at wordpress.org
Wed Oct 16 16:02:03 UTC 2019
#47699: Remove redundant JSON polyfills for PHP native functionality
-------------------------------------------------+-------------------------
Reporter: jrf | Owner: desrosj
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: 5.3
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests i18n- | Focuses: coding-
change has-dev-note | standards
-------------------------------------------------+-------------------------
Changes (by desrosj):
* keywords: has-patch has-unit-tests needs-dev-note i18n-change => has-
patch has-unit-tests i18n-change has-dev-note
* status: closed => reopened
* resolution: fixed =>
Comment:
Dev note posted: https://make.wordpress.org/core/2019/10/15/php-native-
json-extension-now-required/
I am reopening to explore changing the error code slightly. The error code
for this specific failure should be different than the one for
incompatible versions of PHP (PHP < 5.6.20). This will allow more accurate
tracking of exactly how many sites cannot upgrade because the native JSON
extension is disabled.
Incoming patch with the suggested `php_not_compatible_json` code change.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47699#comment:33>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list