Opened 18 years ago
Closed 18 years ago
#185 closed defect (bug) (fixed)
Members Theme not loading rtl.css
| Reported by: | yoavf | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Version: | ||
| Severity: | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I've added the change to get_bloginfo(). Reopen if this doesn't work.