mirrored from git://develop.git.wordpress.org/
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Ports on Multisite Domains #5675
Closed
ObliviousHarmony
wants to merge
22
commits into
WordPress:trunk
from
ObliviousHarmony:fix/multisite-port
Closed
Changes from 15 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
2bc890f
Support Port in Site Creation
ObliviousHarmony 1d364ae
Prevent Site Info Port Removal
ObliviousHarmony c8fc3d7
Allow Ports in Network Setup
ObliviousHarmony 1dc19d7
Added Multisite Environment Support
ObliviousHarmony fd6b613
Linting Fixes
ObliviousHarmony d340f12
Fixed Multisite Test
ObliviousHarmony b7c1877
Merge branch 'trunk' into fix/multisite-port
swissspidy 7153a91
Removed Unnecessary Subdomain Port Removal
ObliviousHarmony e18f6fa
Merge branch 'trunk' into fix/multisite-port
ObliviousHarmony 7e50f18
Replaced Hard-Coded Test Domains
ObliviousHarmony 94e49bc
Added Support For `.env` `WP_TESTS_DOMAIN`
ObliviousHarmony 0987a6a
Added Missing Multisite oEmbed Port
ObliviousHarmony d2c692d
Added Missing RSS Link Port
ObliviousHarmony 388648b
Check Port When Securing Calculated `srcset`
ObliviousHarmony ddb65a6
Added `WP_TESTS_DOMAIN` To GitHub Workflows
ObliviousHarmony 9f8295b
Merge branch 'trunk' into fix/multisite-port
johnbillion 2198839
Let's see if we can get this workflow running.
johnbillion 6c03534
Add the test domain to the job name when its value is not the default.
johnbillion 4ed7743
Merge branch 'trunk' into fix/multisite-port
johnbillion 988cec7
Merge branch 'trunk' into fix/multisite-port
johnbillion 0665ca4
Skip running the REST API client fixture tests when using a non-defau…
johnbillion 49365cb
Account for port when changing a site path.
johnbillion File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this now available, would it make sense to turn this to
true
for the multisite test jobs for PHPUnit?If not, then we should at least have some type of test that ensures the environment starts and works when multisite is enabled. That could potentially be a separate workflow that tests all of the related local environment commands, and perhaps better off as a separate ticket.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's worth keeping in mind that PHPUnit tests create their own tables and
wp-config.php
file. The environment variable just switchesinstall
tomultisite-install
and it wouldn't have any effect on the PHPUnit tests.It's probably not worth creating a test for installing since all it does is run
multisite-install
instead ofinstall
. The rewrite rule change is covered by the existing test workflows and the parsing is covered by PHPUnit tests.