Ticket #7303: 7303.patch
File 7303.patch, 663 bytes (added by , 8 years ago) |
---|
-
src/bp-groups/bp-groups-template.php
575 575 // Group type - public, private, hidden. 576 576 $classes[] = sanitize_key( $groups_template->group->status ); 577 577 578 // Add current group types. 579 if ( $group_types = bp_groups_get_group_type( bp_get_group_id(), false ) ) { 580 foreach ( $group_types as $group_type ) { 581 $classes[] = sprintf( 'group-type-%s', esc_attr( $group_type ) ); 582 } 583 } 584 578 585 // User's group role. 579 586 if ( bp_is_user_active() ) { 580 587