Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/10/2021 04:15:05 PM (2 years ago)
Author:
dcavins
Message:

Membership Requests: Change labels on register page.

We are using the standard "register" form to collect
membership requests, so we need to change the labels
in many cases to avoid confusion. Also ensure that users
can access the registration page when membership
requests are enabled.

See #8582.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-members/screens/register.php

    r12920 r13170  
    6262    }
    6363
    64     if ( ! bp_get_signup_allowed() && ! $active_invite ) {
     64    $requests_enabled = bp_get_membership_requests_required();
     65
     66    if ( ! bp_get_signup_allowed() && ! $active_invite && ! $requests_enabled ) {
    6567        $bp->signup->step = 'registration-disabled';
    6668        // If the signup page is submitted, validate and save.
     
    198200            $active_signup = bp_core_get_root_option( 'registration' );
    199201
    200             if ( 'none' != $active_signup ) {
     202            if ( 'none' != $active_signup || $requests_enabled ) {
    201203
    202204                // Make sure the extended profiles module is enabled.
Note: See TracChangeset for help on using the changeset viewer.