Opened 16 years ago
Closed 16 years ago
#185 closed defect (bug) (fixed)
Members Theme not loading rtl.css
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | major | |
Severity: | Version: | ||
Component: | Keywords: | ||
Cc: |
Description
Current code in loader.php is
/* If the root blog is set up for right to left reading, include the rtl.css file */ if ( get_blog_option( 1, 'text_direction' ) == 'rtl' && file_exists( 'rtl.css' ) ) echo "@import url(rtl.css);\n";
text_direction is not in blog_options, so it can't be loaded that way. Instead, maybe you could use get_bloginfo('text_direction').
It works for me
You might also want to take a look at
get_locale_stylesheet_uri()
in wordpress wp-includes/theme.php
Note: See
TracTickets for help on using
tickets.
I've added the change to get_bloginfo(). Reopen if this doesn't work.