From 9ea97e9dd9d5631c120622dc22ea925190746d0d Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 16 Nov 2012 22:18:33 +0000 Subject: [PATCH] Fix minified RTL style loading via load-styles.php. props ocean90. fixes #22482. git-svn-id: https://develop.svn.wordpress.org/trunk@22623 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/load-styles.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/load-styles.php b/wp-admin/load-styles.php index 011ffb0d21..8ff93f52e4 100644 --- a/wp-admin/load-styles.php +++ b/wp-admin/load-styles.php @@ -120,7 +120,7 @@ foreach( $load as $handle ) { $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"; }