[wp-trac] [WordPress Trac] #46594: Bump PHP version requirements
WordPress Trac
noreply at wordpress.org
Wed Oct 9 22:20:48 UTC 2019
#46594: Bump PHP version requirements
----------------------------+---------------------
Reporter: jorbin | Owner: jorbin
Type: task (blessed) | Status: closed
Priority: high | Milestone: 5.2
Component: General | Version:
Severity: normal | Resolution: fixed
Keywords: commit | Focuses:
----------------------------+---------------------
Comment (by desrosj):
In [changeset:"46455" 46455]:
{{{
#!CommitTicketReference repository="" revision="46455"
Upgrade/Install: Detect the presence of the native PHP JSON extension
before updating.
The PHP native JSON extension has been bundled and compiled with PHP by
default since version 5.2.0. Because the minimum version of PHP required
by WordPress is now 5.6.20 (see #46594 and [45058]), the related polyfills
and workarounds have been removed (see [46205-46206,46208]).
However, even though the JSON extension is now included in PHP by default,
it is still possible to disable the extension in a custom configuration.
This change will prevent sites from upgrading if the JSON extension is
disabled to prevent compatibility issues.
Props jrf, jorbin, dd32, desrosj.
Fixes #47699.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46594#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list