Make WordPress Core

Changeset 22623


Ignore:
Timestamp:
11/16/2012 10:18:33 PM (12 years ago)
Author:
nacin
Message:

Fix minified RTL style loading via load-styles.php. props ocean90. fixes #22482.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/load-styles.php

    r22531 r22623  
    121121
    122122    if ( $rtl && isset($style->extra['rtl']) && $style->extra['rtl'] ) {
    123         $rtl_path = is_bool($style->extra['rtl']) ? str_replace( '.css', '-rtl.css', $path ) : ABSPATH . $style->extra['rtl'];
     123        $rtl_path = is_bool($style->extra['rtl']) ? str_replace( '.min.css', '-rtl.min.css', $path ) : ABSPATH . $style->extra['rtl'];
    124124        $content .= get_file($rtl_path) . "\n";
    125125    }
Note: See TracChangeset for help on using the changeset viewer.