Fix loading of colors RTL css. Props mani_monaj. see #6296
git-svn-id: http://svn.automattic.com/wordpress/trunk@7477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b442bfdeff
commit
c7dcfa6261
|
@ -1121,6 +1121,7 @@ function wp_admin_css_uri( $file = 'wp-admin' ) {
|
||||||
$color = 'fresh';
|
$color = 'fresh';
|
||||||
$color = $_wp_admin_css_colors[$color];
|
$color = $_wp_admin_css_colors[$color];
|
||||||
$_file = $color->url;
|
$_file = $color->url;
|
||||||
|
$_file = ('css/colors-rtl' == $file) ? str_replace('.css','-rtl.css',$_file) : $_file;
|
||||||
} else {
|
} else {
|
||||||
$_file = get_option( 'siteurl' ) . "/wp-admin/$file.css";
|
$_file = get_option( 'siteurl' ) . "/wp-admin/$file.css";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue