diff --git src/bp-templates/bp-nouveau/includes/functions.php src/bp-templates/bp-nouveau/includes/functions.php
index 6b83a12d4..d7cfeb2c7 100644
|
|
|
function bp_nouveau_wrapper( $args = array() ) { |
| 234 | 234 | * Check the component to find a default container_class to add |
| 235 | 235 | */ |
| 236 | 236 | $current_component_class = bp_current_component() . '-meta'; |
| | 237 | |
| | 238 | // Allow 'home' and 'activity' actions to have a $generic_class of ' activity-meta '. |
| | 239 | $activity_actions_in_groups = apply_filters('bp_nouveau_groups_activity_actions', array( 'home', 'activity') ); |
| 237 | 240 | |
| 238 | | if ( 'groups' === bp_current_component() && 'activity' === bp_current_action() ) { |
| | 241 | if ( 'groups' === bp_current_component() && in_array( bp_current_action(), $activity_actions_in_groups ) ) { |
| 239 | 242 | $generic_class = ' activity-meta '; |
| 240 | 243 | } else { |
| 241 | 244 | $generic_class = ''; |