[wp-trac] [WordPress Trac] #33161: Create a standard for defining and identifying site environment
WordPress Trac
noreply at wordpress.org
Sun Jun 7 21:15:25 UTC 2020
#33161: Create a standard for defining and identifying site environment
--------------------------------+-----------------------------
Reporter: krogsgard | Owner: SergeyBiryukov
Type: enhancement | Status: reopened
Priority: normal | Milestone: 5.5
Component: Options, Meta APIs | Version: 4.2
Severity: normal | Resolution:
Keywords: needs-dev-note | Focuses:
--------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: closed => reopened
* resolution: fixed =>
Comment:
Replying to [comment:36 joostdevalk]:
> looks like this:
>
> > Secondarily, it would be great if there was a sanctioned way for all
runtimes to be able to modify the list of allowed environments, perhaps
through a constant similar to WP_ENVIRONMENT_TYPE.
>
> is already covered by [https://core.trac.wordpress.org/changeset/47919
the patch]?
Apparently not, looks like it should read a
`WP_APPROVED_ENVIRONMENT_TYPES` system variable and constant.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33161#comment:38>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list