#27012 closed enhancement (maybelater)
Make it possible to install WP multisite directly
Reported by: | Denis-de-Bernardy | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.8 |
Component: | Upgrade/Install | Keywords: | needs-patch |
Focuses: | multisite | Cc: |
Description
On a completely new site, functions in wp-includes/ms-*.php
kick in very early on when multisite-related defines are around.
Visiting /
in such a setup yields a cryptic establishing a connection error message which is far too similar to an actual problem.
Visiting /wp-admin
is only slightly more informative, with WP assuming that the database's sites or blogs table is corrupt, with links to the codex on how to debug the problem.
Visiting /wp-admin/install.php
seems to be working OK, with a whole bunch of E_NOTICE
errors occurring when WP_DEBUG
is defined.
Instead of the above, could we make it so that when the defines are around, WP will instead a) understand that an install is in order and redirect you to wp-admin/install.php
and b) proceed with installing a network right then and there?
Change History (6)
#4
@
11 years ago
For the record, WP-CLI has the wp core multisite-install command, which installs multisite from scratch.
It relies on various ugly hacks, such as:
#5
@
9 years ago
- Keywords needs-patch added
- Milestone Future Release deleted
- Resolution set to worksforme
- Status changed from new to closed
Closing as maybelater. Complete lack of interest on the feature on the ticket over the last 2 years. Feel free to reopen when more interest re-emerges (particularly if there's a patch)
It's painful to do, but it's currently possible: https://github.com/jquery/jquery-wp-content/blob/master/sunrise.php#L9:L26. I wouldn't recommend that to anyone, though. Would be nice if we made this better in the future.