[wp-trac] [WordPress Trac] #15936: IPv6 literal support in multisite broken

WordPress Trac noreply at wordpress.org
Sun Apr 12 17:08:28 UTC 2020


#15936: IPv6 literal support in multisite broken
-------------------------------------------------+-------------------------
 Reporter:  jmdh                                 |       Owner:  (none)
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Networks and Sites                   |     Version:  3.0
 Severity:  major                                |  Resolution:
 Keywords:  has-patch has-unit-tests dev-        |     Focuses:  multisite
  feedback                                       |
-------------------------------------------------+-------------------------

Comment (by CodeMonkeyBanana):

 @own3mall This doesn't work for me using sub directories.

 If I re-write the url in option_siteurl / option_home filter to include
 port then it works as $_SERVER variable has correct port number at this
 point of execution but if I try to do it in wp-config.php then the port
 number in $_SERVER is always 80 for some reason.  I think it is something
 to do with routing.

 I am trying to hit:

 localhost:1234/subsite

 But it always re-directs to:

 localhost/subsite

 And debugger always reads port 80 from wp-config.php.  I am using docker
 to run project so maybe this causes issue.

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


More information about the wp-trac mailing list