Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/23/2012 06:17:14 PM (13 years ago)
Author:
boonebgorges
Message:

Adds template tag bp_get_group_current_admin_tab() and implements throughout BuddyPress for accessing current group admin tab data.
Adds current admin tab slug to the body class in the group admin section.
Fixes #4095

File:
1 edited

Legend:

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

    r5941 r5942  
    16221622            $bp_classes[] = 'group-forum';
    16231623
    1624         if ( bp_is_group_admin_page() )
     1624        if ( bp_is_group_admin_page() ) {
    16251625            $bp_classes[] = 'group-admin';
     1626            $bp_classes[] = bp_get_group_current_admin_tab();
     1627        }
    16261628
    16271629        if ( bp_is_group_create() ) {
Note: See TracChangeset for help on using the changeset viewer.