#28740 closed task (blessed) (fixed)
Streamline setup-config.php process
| Reported by: | nacin | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.0 |
| Component: | Upgrade/Install | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
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.
Change History (7)
#2
@
12 years ago
I would not be terribly surprised if [28978] causes a problem, which is why I spun this into a self-contained ticket and also wanted to get this in quickly. Please reopen with issues.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 28978: