[wp-trac] [WordPress Trac] #47767: Simplify and backport the local environment

WordPress Trac noreply at wordpress.org
Sun Sep 1 11:55:51 UTC 2019


#47767: Simplify and backport the local environment
------------------------------+-----------------------
 Reporter:  pento             |       Owner:  pento
     Type:  enhancement       |      Status:  assigned
 Priority:  normal            |   Milestone:  5.3
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  needs-testing     |     Focuses:
------------------------------+-----------------------

Comment (by Clorith):

 [attachment:"47767.2.patch"] adds a `LOCAL_URL` entry to the `.env` file.

 This value defaults to `wpdev.localhost`, which is the most readily
 available address for reaching services running on your local machine, due
 to how some browsers (in particular Edge) don't respect the local hosts
 file when doing address resolving so using a custom TLD won't work for us.

 The reason for needing more than just `localhost` as the address is to
 make sure features requiring loopbacks continue to work even on the test
 environment, this can only be done by using a fully qualified domain that
 we can set up aliases for in the Docker environment.

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


More information about the wp-trac mailing list