[wp-trac] [WordPress Trac] #50992: Consider removing the ability to alter the list of environment types

WordPress Trac noreply at wordpress.org
Wed Aug 26 07:11:23 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:  needs-patch     |     Focuses:
----------------------------+---------------------
Changes (by johnbillion):

 * keywords:  dev-feedback => needs-patch


Comment:

 There seems to be consensus about removing the ability for the list of
 environments to be filtered, so let's see if we can come up with a patch.

 I think the existing constant can be deprecated, with any unknown
 environment name being respected in 5.5.1 and then ignored completely in
 5.5.2. The feature hasn't been around long but there's no reason to break
 sites that have already implemented custom environment types.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50992#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list