[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 13:04:48 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 jrf):
@spacedmonkey Just looking at the patch now. May I ask why you've set
`exit` to `false` in the `$args` and then do an `exit( 1 )` on the line
after `wp_die()` ?
Also wondering if it should be made explicit in the `$args` that
`response` should be `500` ?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47169#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list