wordpress-playground
wordpress-playground copied to clipboard
Support ports in multisites
By default, WordPress doesn't support ports in multisite domains, but there is a workaround using this code.
We currently use a proxy to create playground.test for local multisite development. But the Valet tool works only on Macs. To support development on another OS we would need to find an alternative crss-platform proxy like a Docker image, or we could just apply the PHP code to allow ports on multisites.
I would suggest that we go with the PHP code as it removes one tool from the dev environment and is a simple change in the Playground code.