[wp-trac] [WordPress Trac] #21077: Add support for custom ports in multisite site addresses

WordPress Trac noreply at wordpress.org
Tue May 7 15:05:55 UTC 2024


#21077: Add support for custom ports in multisite site addresses
--------------------------------------------+--------------------------
 Reporter:  djzone                          |       Owner:  johnbillion
     Type:  enhancement                     |      Status:  reopened
 Priority:  normal                          |   Milestone:  6.6
Component:  Bootstrap/Load                  |     Version:  3.4
 Severity:  normal                          |  Resolution:
 Keywords:  add-to-field-guide needs-patch  |     Focuses:  multisite
--------------------------------------------+--------------------------
Changes (by johnbillion):

 * keywords:  add-to-field-guide needs-testing => add-to-field-guide needs-
     patch


Comment:

 Have you done a fresh setup of a subdirectory installation?

 It looks like the `allow_subdomain_install()` function also needs to be
 updated to handle ports, in order to prevent setting up a subdirectory
 installation on `localhost:8889`. It prevents a subdomain installation on
 subdirectories, localhost, and IP addresses, but it doesn't take into
 account the port.

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


More information about the wp-trac mailing list