[wp-trac] [WordPress Trac] #28740: Streamline setup-config.php process

WordPress Trac noreply at wordpress.org
Thu Jul 3 19:53:22 UTC 2014

#28740: Streamline setup-config.php process
 Reporter:  nacin            |      Owner:
     Type:  task (blessed)   |     Status:  new
 Priority:  normal           |  Milestone:  4.0
Component:  Upgrade/Install  |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
 As a prerequisite for some stuff in #28577, we need to improve setup-
 config.php a bit.

 When a config file isn't there, wp-load.php prints out an error message
 then links you off to setup-config.php, which then has an introductory
 screen. That screen then leads to the form.

 What we need to do is insert a language chooser into this process. In
 order to do that, we need all of WordPress loaded. Here's the plan:
  * Combine the error message and the introductory screen. Redirect to
 setup-config.php the same way we'd redirect to install.php. This will make
 it much easier to have a language chooser, and it's also simpler. (This
 two-step dance has always struck me as odd and confusing, and neither page
 is particularly welcoming in its messaging.)
  * Load the WordPress bootstrap as part of setup-config.php. Requires some
 dancing to avoid DB connection issues. (install.php is fine since the
 connection is made, even though no tables exist.)
  * In #28577, implement a language chooser for setup-config.php, the same
 that is on install.php.

Ticket URL: <https://core.trac.wordpress.org/ticket/28740>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list