WordPress.org

Make WordPress Core

Ticket #22482: 22482.patch

File 22482.patch, 621 bytes (added by ocean90, 6 years ago)
  • wp-admin/load-styles.php

     
    120120        $content = get_file($path) . "\n";
    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        }
    126126