Ticket #9528: filter-rtl-css-url.diff
| File filter-rtl-css-url.diff, 873 bytes (added by , 17 years ago) |
|---|
-
wp-includes/class.wp-styles.php
65 65 $tag .= apply_filters( 'style_loader_tag', "<link rel='$rel' id='$handle' $title href='$href' type='text/css' media='$media' />\n", $handle ); 66 66 if ( 'rtl' === $this->text_direction && isset($this->registered[$handle]->extra['rtl']) && $this->registered[$handle]->extra['rtl'] ) { 67 67 if ( is_bool( $this->registered[$handle]->extra['rtl'] ) ) 68 $rtl_href = str_replace( '.css', '-rtl.css', $href);68 $rtl_href = $this->_css_href( str_replace( '.css', '-rtl.css', $this->registered[$handle]->src ), $ver, "$handle-rtl" ); 69 69 else 70 70 $rtl_href = $this->_css_href( $this->registered[$handle]->extra['rtl'], $ver, "$handle-rtl" ); 71 71