WordPress.org

Make WordPress Core

Changeset 11219


Ignore:
Timestamp:
05/06/09 17:47:58 (5 years ago)
Author:
ryan
Message:

Fix RTL color stylesheet loading. Props hakre. fixes #9735

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class.wp-styles.php

    r11204 r11219  
    6666        if ( 'rtl' === $this->text_direction && isset($this->registered[$handle]->extra['rtl']) && $this->registered[$handle]->extra['rtl'] ) { 
    6767            if ( is_bool( $this->registered[$handle]->extra['rtl'] ) ) 
    68                 $rtl_href = $this->_css_href( str_replace( '.css', '-rtl.css', $this->registered[$handle]->src ), $ver, "$handle-rtl" ); 
     68                $rtl_href = str_replace( '.css', '-rtl.css', $this->_css_href( $this->registered[$handle]->src , $ver, "$handle-rtl" )); 
    6969            else 
    7070                $rtl_href = $this->_css_href( $this->registered[$handle]->extra['rtl'], $ver, "$handle-rtl" ); 
Note: See TracChangeset for help on using the changeset viewer.