Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/22/2021 12:52:18 PM (5 years ago)
Author:
imath
Message:

xProfile Admin: always display the group of signup fields

Even if the signups are not allowed, make sure admins can "preset" the registration/invitation form of their site.

Props johnjamesjacoby

Fixes #8477

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/classes/class-bp-xprofile-data-template.php

    r12885 r12955  
    167167        $groups = bp_xprofile_get_groups( $r );
    168168
    169         if ( true === $r['signup_fields_only'] && bp_get_signup_allowed() ) {
     169        if ( true === $r['signup_fields_only'] ) {
    170170            $signup_fields_order       = bp_xprofile_get_signup_field_ids();
    171171            $signup_group              = new BP_XProfile_Group();
Note: See TracChangeset for help on using the changeset viewer.