[wp-trac] [WordPress Trac] #27003: Introduce wp_get_network() and begin cleanup of multisite load
WordPress Trac
noreply at wordpress.org
Tue Feb 4 17:01:39 UTC 2014
#27003: Introduce wp_get_network() and begin cleanup of multisite load
-------------------------------------------------+-------------------------
Reporter: jeremyfelt | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
Component: Bootstrap/Load | Review
Severity: normal | Version: trunk
Keywords: has-patch needs-testing dev- | Resolution:
feedback | Focuses: multisite
-------------------------------------------------+-------------------------
Comment (by Denis-de-Bernardy):
Slightly off topic, but since the ticket mentions "cleanup of multisite
load" in its title: there's a lot of code in wp-includes/ms-*.php that run
very early and assumes that WP is already installed. When it isn't and
you're hoping to get redirected to wp-admin/install.php, it ultimately
fails with an extremely misleading database connection error.
Would it be desirable (in a separate ticket, of course) to make so that
adding the relevant multisite defines in advance, when installing WP,
would make the installer just work and set things up with multisite
already up and running? Desirable or not, I raised the question here
because a few `isset()` calls here and there are currently needed to avoid
E_NOTICE errors when loading `wp-admin/install.php`, so might as well add
them in advance during the cleanup.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27003#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list