WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 7 years ago

Last modified 7 years ago

#14862 closed enhancement (worksforme)

wp 30 to wpmu - wild card domain - suggestion

Reported by: msolution Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Multisite Keywords:
Focuses: Cc:

Description

im new to wordpress hacking, but i did hit the forums with this.

we could pick up the last 'if' statement from:

/wp-admin/includes/schema.php
function populate_network()

the last if :

if ( $subdomain_install ) 
{
...
...
}

and paste it to:
/wp-admin/network.php
inside function allow_subdomain_install()

the problem of a last minute Error out would be solved.

putting it there, and showing a warning in the 1st step itself would be warning enough for the user to go back and get things done right/ check on things again wrt wild carded domain.

again, i am new to wordpress, please do correct me if im wrong

Warm Regards,
M.

Change History (4)

#1 @PeteMall
10 years ago

  • Keywords wp wpmu wp30 upgrade removed
  • Milestone changed from Awaiting Review to Future Release

#2 @wpmuguru
8 years ago

Since 3.0 was released I've encountered quite a few people who have set up subdomain installs on hosts where wildcard subdomains were not supported.

To get this to work they had to install as a folder install, edit wp-config.php and change the configuration to subdomains. Each added subdomain is set up as a domain alias in their web server config.

In closed networks (where registration is closed) there isn't a compelling reason to check for wildcard subdomains on network setup.

#3 @Ipstenu
7 years ago

  • Resolution set to worksforme
  • Status changed from new to closed

Now when you set up Multisite, and pick subdomains, it checks for the functionality of wildcards, which seems to be exactly what this was about.

Looks like this is being followed up on at #23709 where they're talking about relaxing.

#4 @SergeyBiryukov
7 years ago

  • Milestone Future Release deleted
Note: See TracTickets for help on using tickets.