Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/13/2013 01:09:52 AM (12 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-blogs/bp-blogs-widgets.php

    r7067 r7210  
    2828        $widget_ops = array(
    2929            'description' => __( 'A list of recently published posts from across your network.', 'buddypress' ),
    30             'classname'   => 'widget_bp_blogs_widget buddypress',
     30            'classname'   => 'widget_bp_blogs_widget buddypress widget',
    3131        );
    3232        parent::__construct( false, $name = _x( '(BuddyPress) Recent Networkwide Posts', 'widget name', 'buddypress' ), $widget_ops );
Note: See TracChangeset for help on using the changeset viewer.