[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 12:01:36 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):
@bgoewert That sounds like a reasonable solution, yes. Since
`WP_ENVIRONMENT_TYPE` is a core constant, it could safely be displayed,
and since the fallback environment, if an invalid value is defined, this
is a perfect and quick way to check that value.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54340#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list