[wp-trac] [WordPress Trac] #50992: Consider removing the ability to alter the list of environment types
WordPress Trac
noreply at wordpress.org
Mon Aug 24 15:29:08 UTC 2020
#50992: Consider removing the ability to alter the list of environment types
----------------------------+---------------------
Reporter: johnbillion | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.5.1
Component: Bootstrap/Load | Version: 5.5
Severity: normal | Resolution:
Keywords: dev-feedback | Focuses:
----------------------------+---------------------
Comment (by TimothyBlynJacobs):
> those relying on checking the environment type should ideally have a
fallback if it's an unrecognized type
What should it fallback to though? Perhaps `development`? But then if you
have an environment that should be more like `staging` you don't have any
way about it.
The environment should be used a proxy for defining certain behavior,
which I think only works if the list is constrained.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50992#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list