Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/25/2013 07:38:56 PM (12 years ago)
Author:
boonebgorges
Message:

Adds widget styling to bp-legacy buddypress.css. See #4869. Props imath

File:
1 edited

Legend:

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

    r6432 r6865  
    1616
    1717    function __construct() {
    18         $widget_ops = array( 'description' => __( 'A dynamic list of recently active, popular, and newest members', 'buddypress' ) );
     18        $widget_ops = array(
     19            'description' => __( 'A dynamic list of recently active, popular, and newest members', 'buddypress' ),
     20            'classname' => 'buddypress',
     21        );
    1922        parent::__construct( false, $name = _x( '(BuddyPress) Members', 'widget name', 'buddypress' ), $widget_ops );
    2023
     
    144147
    145148    function __construct() {
    146         $widget_ops = array( 'description' => __( 'Avatars of users who are currently online', 'buddypress' ) );
     149        $widget_ops = array(
     150            'description' => __( 'Avatars of users who are currently online', 'buddypress' ),
     151            'classname' => 'buddypress',
     152        );
    147153        parent::__construct( false, $name = _x( "(BuddyPress) Who's Online", 'widget name', 'buddypress' ), $widget_ops );
    148154    }
     
    208214
    209215    function __construct() {
    210         $widget_ops = array( 'description' => __( 'Avatars of recently active members', 'buddypress' ) );
     216        $widget_ops = array(
     217            'description' => __( 'Avatars of recently active members', 'buddypress' ),
     218            'classname' => 'buddypress',
     219        );
    211220        parent::__construct( false, $name = _x( '(BuddyPress) Recently Active Members', 'widget name', 'buddypress' ), $widget_ops );
    212221    }
Note: See TracChangeset for help on using the changeset viewer.