#7028 closed defect (bug) (duplicate)
Formatting lost when doing install.php
| Reported by: | MichaelH | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | Administration | Version: | 2.6 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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)
#2
@
18 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
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Confirmed. It's due to the new style loader. The path it has is
/wp-admin/css/install.css.