Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#185 closed defect (bug) (fixed)

Members Theme not loading rtl.css

Reported by: yoavf's profile yoavf 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

Change History (1)

#1 @apeatling
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

I've added the change to get_bloginfo(). Reopen if this doesn't work.

Note: See TracTickets for help on using tickets.