[wp-trac] [WordPress Trac] #47169: Use a non-zero exit code when requirements are not met
WordPress Trac
noreply at wordpress.org
Tue May 7 16:14:29 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
Component: Build/Test Tools | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses:
-----------------------------------+---------------------
Comment (by jrf):
Replying to [comment:1 spacedmonkey]:
> We should use `wp_die` here instead.
I'm not so sure as `wp_die()` will display HTML and presume WP can be
loaded (at least the minimum), while when requirements are not met, that
may well not be the case.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47169#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list