[wp-trac] [WordPress Trac] #55488: Add a filter to array of allow ported number in multisite.

WordPress Trac noreply at wordpress.org
Wed Mar 30 13:39:42 UTC 2022


#55488: Add a filter to array of allow ported number in multisite.
--------------------------------+-----------------------------
 Reporter:  spacedmonkey        |      Owner:  (none)
     Type:  enhancement         |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Networks and Sites  |    Version:
 Severity:  normal              |   Keywords:  needs-patch
  Focuses:  multisite           |
--------------------------------+-----------------------------
 The allowed port numbers to setup a multisite are fixed. See this line.

 {{{#!php
         if ( ( false !== $has_ports && ! in_array( $has_ports, array(
 ':80', ':443' ), true ) ) ) {

 }}}

 However, a site maintainer may want to change these values to help enable
 serving their multisite from a custom port.

 This ticket is a breakout fromĀ #21077

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55488>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list