[wp-trac] [WordPress Trac] #51064: Consider adding "local" as environment on WP_ENVIRONMENT_TYPE

WordPress Trac noreply at wordpress.org
Fri Aug 21 23:30:31 UTC 2020


#51064: Consider adding "local" as environment on WP_ENVIRONMENT_TYPE
----------------------------+---------------------
 Reporter:  claytoncollie   |       Owner:  (none)
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  5.5.1
Component:  Bootstrap/Load  |     Version:  5.5
 Severity:  normal          |  Resolution:
 Keywords:  2nd-opinion     |     Focuses:
----------------------------+---------------------

Comment (by knutsp):

 Replying to [comment:12 khag7]:

 > If local vs remote is defined in some different way (yet another
 constant?) then you could use that constant to differentiate between
 development(remote) and development(local).
 >
 > If this is a bad idea (introducing a new constant to define local vs
 remote) then we're stuck in a position of deciding which ticket we
 implement and which we don't. Seems like #50992 is on track to win,
 meaning this ticket doesn't lead to any implementation.

 Isn't this what `WP_LOCAL_DEV` is for?

 Environment type should be about purpose. Don't confuse 'local' into this
 type. A wontfix.

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


More information about the wp-trac mailing list