@wordpress/env: Fix accidental quotes in Site Title#20520
Conversation
|
Size Change: 0 B Total Size: 866 kB ℹ️ View Unchanged
|
| 'wp', | ||
| 'core', | ||
| 'install', | ||
| `--url=localhost:${ port }`, |
There was a problem hiding this comment.
Unrelated: I have a use-case I'm wondering if there is some better support for, or if we could make better support for. Specifically, to test Internet Explorer, I use VirtualBox and a Microsoft-provided VM. To test the Gutenberg site from the host machine, I find that I have to go to Settings > General and change the url from localhost to the IP address of my host machine on my local network (192.168.1.162). If we have configurations for other values (like port), is it something where we could allow configuration of the hostname here as well? Would that work as well as I'm expecting it to, if I would have a .wp-env.override.json in my local Gutenberg directory?
There was a problem hiding this comment.
Hm, interesting. Yes we could add siteURL to .wp-env.json and then you would set it in .wp-env.override.json for this use case. I'm not sure if it's worth adding this functionality though given that the URL can be changed easily via WP Admin.
@tellthemachines: I remember you running into this. What did you end up doing? Do you map localhost in VirtualBox to the host machine's IP?

Fixes #20002 (comment).
Removes the
's fromwp core installas these were being interpreted literally meaning that the Site Title would be set to'gutenberg'instead ofgutenberg.The fix still accounts for titles which contain spaces by passing an explicit array of arguments to
dockerCompose.run().