Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/10/2013 07:32:52 PM (11 years ago)
Author:
r-a-y
Message:

Restore legacy widget CSS classes for backwards-compatibility.

r6865 changed all widget CSS classes to 'buddypress'.

However, we have to be considerate to themes that are already using the
older widget CSS classes from BP 1.6 and lower.

This commit brings back these CSS classes. See #4869.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.7/bp-groups/bp-groups-widgets.php

    r6878 r6903  
    2727        $widget_ops = array(
    2828            'description' => __( 'A dynamic list of recently active, popular, and newest groups', 'buddypress' ),
    29             'classname' => 'buddypress',
     29            'classname' => 'widget_bp_groups_widget buddypress',
    3030        );
    3131        parent::__construct( false, _x( '(BuddyPress) Groups', 'widget name', 'buddypress' ), $widget_ops );
Note: See TracChangeset for help on using the changeset viewer.