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

WordPress Trac noreply at wordpress.org
Sat Aug 22 12:16:29 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 claytoncollie):

 @johnbillion so this would effectively **remove** the ability to do the
 following?


 `define( 'WP_ENVIRONMENT_TYPES', array( 'local', 'development', 'staging',
 'production' );`

 and/or

 `define( 'WP_ENVIRONMENT_TYPE', 'local' );`

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


More information about the wp-trac mailing list