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

WordPress Trac noreply at wordpress.org
Sun May 5 21:03:23 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-testing  |     Focuses:  multisite
----------------------------------------------+--------------------------

Comment (by spacedmonkey):

 @johnbillion No, I didn't install multisite using `LOCAL_MULTISITE`.

 I installed a version of WordPress as single site. When added

 {{{#!php
 /* Multisite */
 define( 'WP_ALLOW_MULTISITE', true );
 }}}

 To wp-config.php. I setup using network setup screen - Sub-domains.
  Sub-domains    like site1.localhost:8889 and site2.localhost:8889

 Using these settings

 {{{#!php
 define( 'MULTISITE', true );
 define( 'SUBDOMAIN_INSTALL', true );
 define( 'DOMAIN_CURRENT_SITE', 'localhost:8889' );
 define( 'PATH_CURRENT_SITE', '/' );
 define( 'SITE_ID_CURRENT_SITE', 1 );
 define( 'BLOG_ID_CURRENT_SITE', 1 );
 }}}

 After following these setups, I managed to replicate the issue.


 In my testing the code fix
 https://core.trac.wordpress.org/ticket/21077#comment:55 made login work.

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


More information about the wp-trac mailing list