Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/10/2021 04:15:05 PM (5 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-core/bp-core-template.php

    r13140 r13170  
    31933193    // Sign up page.
    31943194    } elseif ( bp_is_register_page() ) {
    3195         $bp_title_parts = array( __( 'Create an Account', 'buddypress' ) );
     3195        if ( bp_get_membership_requests_required() ) {
     3196            $bp_title_parts = array( __( 'Request Membership', 'buddypress' ) );
     3197        } else {
     3198            $bp_title_parts = array( __( 'Create an Account', 'buddypress' ) );
     3199        }
    31963200
    31973201    // Activation page.
Note: See TracChangeset for help on using the changeset viewer.