Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #27003, comment 2


Ignore:
Timestamp:
02/04/2014 05:08:48 PM (11 years ago)
Author:
Denis-de-Bernardy
Comment:

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.
     1Slightly 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.
    22
    33Would 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.