Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/09/2014 02:55:29 PM (10 years ago)
Author:
djpaul
Message:

Core: load RTL stylesheets when we need to.

Fixes #5614

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-members/bp-members-admin.php

    r8679 r8770  
    549549
    550550        $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
    551 
    552551        $css = $this->css_url . "admin{$min}.css";
    553552        $css = apply_filters( 'bp_members_admin_css', $css );
     553
    554554        wp_enqueue_style( 'bp-members-css', $css, array(), bp_get_version() );
     555
     556        wp_style_add_data( 'bp-members-css', 'rtl', true );
     557        if ( $min ) {
     558            wp_style_add_data( 'bp-members-css', 'suffix', $min );
     559        }
    555560
    556561        // Only load javascript for BuddyPress profile
Note: See TracChangeset for help on using the changeset viewer.