Changes between Initial Version and Version 1 of Ticket #27003, comment 2
- Timestamp:
- 02/04/2014 05:08:48 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27003, comment 2
initial v1 1 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.1 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 runs 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. 2 2 3 3 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.