Make WordPress Core

Opened 2 years ago

#55488 new enhancement

Add a filter to array of allow ported number in multisite.

Reported by: spacedmonkey's profile spacedmonkey Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Networks and Sites Keywords: needs-patch
Focuses: multisite Cc:

Description

The allowed port numbers to setup a multisite are fixed. See this line.

        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

Change History (0)

Note: See TracTickets for help on using tickets.