[wp-trac] [WordPress Trac] #54340: WP_LOCAL_DEV shouldn't be included in Site Health Info
WordPress Trac
noreply at wordpress.org
Fri Nov 5 15:07:12 UTC 2021
#54340: WP_LOCAL_DEV shouldn't be included in Site Health Info
----------------------------------------+---------------------
Reporter: johnbillion | Owner: (none)
Type: defect (bug) | Status: new
Priority: low | Milestone: 5.9
Component: Site Health | Version: 5.2
Severity: normal | Resolution:
Keywords: needs-patch good-first-bug | Focuses:
----------------------------------------+---------------------
Comment (by Clorith):
Thank you for the patch @sabbirshouvo.
Would you have time to make a small udpate here, as the output should be
the actual value of the constant, and not `true`, `false`, `Enabled`, or
`Disabled` (the `Undefined` message is OK to leave in though, if the value
is not defined).
There's also a few too many spaces on line 321, the number of indents
should match the other elements in the array (this isn't a major issue,
and we can fix it before committing, but it's good to keep track of :) ),
see the line that triggered that warning below (it only needs a single
space to align with everything else in the section):
{{{#!php
'WP_ENVIRONMENT_TYPE' => array(
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54340#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list