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

WordPress Trac noreply at wordpress.org
Thu Feb 18 18:54:44 UTC 2021


#21077: Add support for custom ports in multisite site addresses
------------------------------------------+-----------------------------
 Reporter:  djzone                        |       Owner:  (none)
     Type:  enhancement                   |      Status:  reopened
 Priority:  normal                        |   Milestone:  Future Release
Component:  Bootstrap/Load                |     Version:  3.4
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:  multisite
------------------------------------------+-----------------------------

Comment (by jeremyfelt):

 Replying to [comment:18 johnjamesjacoby]:
 > > Should all port numbers be allowed or should there be a filtered list?
 >
 > I think all port numbers should be allowed.
 >

 I think this makes sense, especially given the story. That said, if there
 was a way to just get #52088 out the door by supporting only the port that
 WordPress is using for its development environment, that would at least be
 a start.


 I'm not actively involved with this ticket, but I want to clarify my last
 comment in case it's preventing further progress here.
 [attachment:"15936.5.diff"] is some prior work from another ticket and I
 don't think it addresses what is actually needed for this. It does provide
 some prior patch art though.

 What's missing for this current ticket (IMO) is:

 * Proposed solution to how a custom port should be recognized and managed
 in bootstrap/load and (maybe? maybe not) managed with networks/sites in
 the network admin UI.
 * How to test the solution as part of the standard WP build process. Unit
 tests, end to end tests?
 * Code to implement the above.
 * How to test the solution locally. (Maybe it's just that the dev
 environment works!) :)

 I'm happy to help with testing in a local environment once it's there, but
 I don't have the bandwidth for solution creating right now. :)

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


More information about the wp-trac mailing list