Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/13/2013 01:09:52 AM (11 years ago)
Author:
boonebgorges
Message:

Adds 'widget' class to all BP widget wrappers

Manually adding the 'widget' class ensures that BP's styles and JS are applied
to widgets in themes that do not natively use the 'widget' class for wrapping
widgets (such as Twenty Ten).

Fixes #4869

Props r-a-y

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-widgets.php

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