[wp-trac] [WordPress Trac] #57487: Add support for "development mode"

WordPress Trac noreply at wordpress.org
Thu Jan 19 00:01:18 UTC 2023


#57487: Add support for "development mode"
-------------------------+-----------------------------
 Reporter:  azaozz       |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+-----------------------------

Comment (by peterwilsoncc):

 My preference is to improve the environment type defaults if required. I
 thinking adding something new would be confusing.

 Instead of checking for the `development` environment WordPress could use
 `in_array( wp_get_environment_type(), array( 'development', 'local' ),
 true )`.

 For staging and production environments requiring features of the default
 development variables, I think it reasonable to require they continue to
 be set individually per the current requirements.

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


More information about the wp-trac mailing list