[wp-trac] [WordPress Trac] #47169: Use a non-zero exit code when requirements are not met
WordPress Trac
noreply at wordpress.org
Wed May 8 12:51:13 UTC 2019
#47169: Use a non-zero exit code when requirements are not met
-----------------------------------+---------------------
Reporter: jrf | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.2.1
Component: Build/Test Tools | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses:
-----------------------------------+---------------------
Comment (by spacedmonkey):
A safe course, might to be to only use `wp_die` for the MySQL check. See
[https://core.trac.wordpress.org/attachment/ticket/47169/47169.3.patch
47169.3.patch]. This would mean would make changes to functions.php to be
PHP 5.6/7 but get a nice error for mysql at least.
@jrf Can you test my patch please.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47169#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list