#7028 closed defect (bug) (duplicate)
Formatting lost when doing install.php
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | Administration | Version: | 2.6 |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
With 2.6-bleeding2 (R7986) and doing install.php, the install screen has lost most formatting. Installation does progress successfully though.
Attachments (1)
Change History (5)
comment:1
Viper007Bond — 5 years ago
- Keywords needs-patch added
- Priority changed from normal to high
comment:2
Potter_System — 5 years ago
- Keywords has-patch added; needs-patch removed
It seems get_option('siteurl') doesn't work when installing. Therefore, $wp_styles->base_url is NIL, and raw value from wp_default_styles is shown.
I've added a conditional in base_url from function wp_default_styles, building a path in a almost-kamikaze way or pull the value from get_option('siteurl') whether WP_INSTALLING is true or false.
It worked flawlessly, but it may become a bit dangerous
- Resolution set to duplicate
- Status changed from new to closed
More complete fix at #7129
Closing as duplicate (even though this came first).
Note: See
TracTickets for help on using
tickets.

Confirmed. It's due to the new style loader. The path it has is /wp-admin/css/install.css.