[wp-trac] [WordPress Trac] #9528: Run RTL CSS urls through the
style_loader_src filter
WordPress Trac
wp-trac at lists.automattic.com
Mon Apr 13 12:35:10 GMT 2009
#9528: Run RTL CSS urls through the style_loader_src filter
--------------------------+-------------------------------------------------
Reporter: nbachiyski | Owner: anonymous
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.8
Component: General | Version:
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
Currently, if the {{{rtl}}} extra data for a stylesheet is set to
{{{true}}}, its URL isn't generated by {{{_css_href()}}}, which applies
the {{{style_loader_src}}} filter. Instead, the RTL URL is generated by
the URL of the main stylesheet with {{{.css}}} replaced with
{{{-rtl.css}}}.
Here is a patch, which properly gets the RTL URL using {{{_css_href()}}}.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9528>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list