Make WordPress Core


Ignore:
Timestamp:
05/04/2024 07:23:31 PM (7 months ago)
Author:
johnbillion
Message:

Bootstrap/Load: Add support for custom ports in multisite site addresses.

This allows a Multisite network to use an address that includes a port name, such as example.com:1234, and adds support for this to the local development environment too. You can now run a Multisite installation on the local development environment, for example at localhost:8889.

This also fixes some bugs with running a single site installation on a port, and updates the testing infrastructure so that the whole test suite runs both with and without a port number.

Props djzone, scribu, nacin, ipstenu, F J Kaiser, jeremyfelt, johnjamesjacoby, spacedmonkey, PerS, Clorith, Blackbam, enrico.sorcinelli, Jules Colle, obliviousharmony, desrosj, johnbillion

Fixes #21077, #52088

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/rest-api/rest-schema-setup.php

    r57548 r58097  
    211211
    212212    public function test_build_wp_api_client_fixtures() {
     213        if ( 'example.org' !== WP_TESTS_DOMAIN ) {
     214            $this->markTestSkipped( 'This test can only be run on example.org' );
     215        }
     216
    213217        // Set up data for individual endpoint responses.  We need to specify
    214218        // lots of different fields on these objects, otherwise the generated
Note: See TracChangeset for help on using the changeset viewer.