Ticket #19742: ticket.19742.diff
| File ticket.19742.diff, 1.2 KB (added by ptahdunbar, 18 months ago) |
|---|
-
wp-includes/class.wp-styles.php
71 71 $end_cond = "<![endif]-->\n"; 72 72 } 73 73 74 $tag .= apply_filters( 'style_loader_tag', "<link rel='$rel' id='$handle-css' $title href='$href' type='text/css' media='$media' />\n", $handle );74 $tag .= apply_filters( 'style_loader_tag', "<link rel='$rel' id='$handle-css' $title href='$href' type='text/css' media='$media' />\n", $handle, $obj ); 75 75 if ( 'rtl' === $this->text_direction && isset($obj->extra['rtl']) && $obj->extra['rtl'] ) { 76 76 if ( is_bool( $obj->extra['rtl'] ) ) { 77 77 $suffix = isset( $obj->extra['suffix'] ) ? $obj->extra['suffix'] : ''; … … 80 80 $rtl_href = $this->_css_href( $obj->extra['rtl'], $ver, "$handle-rtl" ); 81 81 } 82 82 83 $tag .= apply_filters( 'style_loader_tag', "<link rel='$rel' id='$handle-rtl-css' $title href='$rtl_href' type='text/css' media='$media' />\n", $handle );83 $tag .= apply_filters( 'style_loader_tag', "<link rel='$rel' id='$handle-rtl-css' $title href='$rtl_href' type='text/css' media='$media' />\n", $handle, $obj ); 84 84 } 85 85 86 86 $tag .= $end_cond;