[buddypress-trac] [BuddyPress Trac] #6200: BP legacy template RTL style not loading.
buddypress-trac
noreply at wordpress.org
Sun Feb 8 16:49:59 UTC 2015
#6200: BP legacy template RTL style not loading.
--------------------------+-----------------------------
Reporter: geminorum | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: Awaiting Review
Component: Locale - RTL | Version: 2.2
Severity: normal | Keywords:
--------------------------+-----------------------------
All I see the `bp-legacy-css-rtl` handle load the previously loaded
`buddypress.css` again.
Seems the `BP_Legacy::enqueue_styles()` must pass full url location of the
`buddrpress-rtl.css` to `wp_style_add_data()`
And since the RTL style, unlike default theme behavior, is a duplicate of
the main style, I think:
{{{
$stylesheet = is_rtl() ? "buddypress-rtl{$min}.css" :
"buddypress{$min}.css";
$asset = $this->locate_asset_in_stack( $stylesheet, 'css' );
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6200>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list