[wp-trac] Re: [WordPress Trac] #7028: Formatting lost when doing install.php

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 2 23:56:02 GMT 2008

#7028: Formatting lost when doing install.php
 Reporter:  MichaelH        |        Owner:  anonymous
     Type:  defect          |       Status:  new      
 Priority:  high            |    Milestone:  2.6      
Component:  Administration  |      Version:  2.6      
 Severity:  normal          |   Resolution:           
 Keywords:  has-patch       |  
Changes (by Potter_System):

  * keywords:  needs-patch => has-patch


 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

Ticket URL: <http://trac.wordpress.org/ticket/7028#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list