From 215d0c769c7f0d267b5024892aea19fd74e5ce1e Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sat, 22 Mar 2008 18:33:31 +0000 Subject: [PATCH] Fix loading of colors RTL css. Props mani_monaj. see #6296 git-svn-id: https://develop.svn.wordpress.org/trunk@7477 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/general-template.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 020d54dc80..b42d7ce95b 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -1121,6 +1121,7 @@ function wp_admin_css_uri( $file = 'wp-admin' ) { $color = 'fresh'; $color = $_wp_admin_css_colors[$color]; $_file = $color->url; + $_file = ('css/colors-rtl' == $file) ? str_replace('.css','-rtl.css',$_file) : $_file; } else { $_file = get_option( 'siteurl' ) . "/wp-admin/$file.css"; }