Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/02/2018 04:46:28 PM (6 years ago)
Author:
imath
Message:

BP Nouveau: always include an invite screen to the Group create steps

As the Group Invites UI allows to invite friends or regular members, the Group create steps will include an invites screen even if the Friends component is not active.

Props hnla

Fixes #7781

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/includes/template-tags.php

    r12037 r12039  
    15941594        }
    15951595
    1596         if ( bp_is_group() && 'send-invites' === bp_current_action() ) {
     1596        if ( ( bp_is_group() && 'send-invites' === bp_current_action() ) || ( bp_is_group_create() && 'group-invites' === bp_get_groups_current_create_step() ) ) {
    15971597            $classes[] = 'bp-invites-nav';
    15981598        }
Note: See TracChangeset for help on using the changeset viewer.