[wp-trac] [WordPress Trac] #51752: Enable the static variable in wp_get_environment_type() to be reset
WordPress Trac
noreply at wordpress.org
Tue Nov 10 21:24:46 UTC 2020
#51752: Enable the static variable in wp_get_environment_type() to be reset
----------------------------+------------------------------
Reporter: stevegrunwell | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bootstrap/Load | Version: 5.5
Severity: normal | Resolution:
Keywords: | Focuses:
----------------------------+------------------------------
Comment (by TimothyBlynJacobs):
I'm -1 on this for the same reasons as #50896. If the environment type
changes during a request, it becomes dangerous to developers to adapt
their code based on the environment.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51752#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list