Skip to:
Content

BuddyPress.org


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

Introduces template function bp_get_groups_current_create_step() to avoid direct calls to the bp global.
Replaces calls to bp->groups->current_create_step with bp_get_groups_current_create_step() throughout BP.
Adds current create step to body classes during group creation process. See #4095

File:
1 edited

Legend:

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

    r5927 r5941  
    16251625            $bp_classes[] = 'group-admin';
    16261626
    1627         if ( bp_is_group_create() )
     1627        if ( bp_is_group_create() ) {
    16281628            $bp_classes[] = 'group-create';
     1629            $bp_classes[] = bp_get_groups_current_create_step();
     1630        }
    16291631
    16301632        if ( bp_is_group_home() )
Note: See TracChangeset for help on using the changeset viewer.