[wp-trac] [WordPress Trac] #48059: Check PHP and MySQL requirements as early as possible
WordPress Trac
noreply at wordpress.org
Thu Sep 19 12:01:14 UTC 2019
#48059: Check PHP and MySQL requirements as early as possible
----------------------------+-----------------------------
Reporter: SergeyBiryukov | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.3
Component: Bootstrap/Load | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
----------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"46183" 46183]:
{{{
#!CommitTicketReference repository="" revision="46183"
Bootstrap/Load: Reorganize the initialization flow so that the check for
PHP and MySQL requirements could run as early as possible.
This allows us to use PHP 5.6+ syntax in more files, and display a proper
error message on older PHP versions, instead of causing a parse error.
Fixes #48059.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48059#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list