[wp-trac] Re: [WordPress Trac] #5132: stylesheet is missing in
install screen?
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 1 20:07:41 GMT 2007
#5132: stylesheet is missing in install screen?
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 2.3.1
Component: Administration | Version: 2.3
Severity: trivial | Resolution:
Keywords: |
-------------------------------+--------------------------------------------
Comment (by Denis-de-Bernardy):
I'm tracing this to:
{{{
function wp_admin_css_uri( $file = 'wp-admin' ) {
if ( defined('WP_INSTALLING') )
{
$_file = add_query_arg( 'version', get_bloginfo( 'version'
), "./$file.css" );
} else {
$_file = add_query_arg( 'version', get_bloginfo( 'version'
), get_option( 'siteurl' ) . "/wp-admin/$file.css" );
}
return apply_filters( 'wp_admin_css_uri', $_file, $file );
}
}}}
should be more like:
{{{
function wp_admin_css_uri( $file = 'wp-admin' ) {
if ( defined('WP_INSTALLING') )
{
$_file = add_query_arg( 'version', get_bloginfo( 'version'
), "./" . ( strpos('wp-admin', $_SERVER['REQUEST_URI']) === false ? 'wp-
admin/' : '' ) . "$file.css" );
} else {
$_file = add_query_arg( 'version', get_bloginfo( 'version'
), get_option( 'siteurl' ) . "/wp-admin/$file.css" );
}
return apply_filters( 'wp_admin_css_uri', $_file, $file );
}
}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/5132#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list