Permalink
Browse files

Fix minified RTL style loading via load-styles.php. props ocean90. fi…

…xes #22482.

git-svn-id: http://core.svn.wordpress.org/trunk@22623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent 55dc9d1 commit afd3c7eeb3415e68cb08855764bc5d4a6eb3b7ed @nacin nacin committed Nov 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 wp-admin/load-styles.php
View
@@ -120,7 +120,7 @@ function get_file($path) {
$content = get_file($path) . "\n";
if ( $rtl && isset($style->extra['rtl']) && $style->extra['rtl'] ) {
- $rtl_path = is_bool($style->extra['rtl']) ? str_replace( '.css', '-rtl.css', $path ) : ABSPATH . $style->extra['rtl'];
+ $rtl_path = is_bool($style->extra['rtl']) ? str_replace( '.min.css', '-rtl.min.css', $path ) : ABSPATH . $style->extra['rtl'];
$content .= get_file($rtl_path) . "\n";
}

0 comments on commit afd3c7e

Please sign in to comment.