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-templates/bp-nouveau/includes/functions.php

    r13145 r13170  
    11231123     * Adjust some messages to the context.
    11241124     */
    1125     if ( 'completed-confirmation' === $feedback_id && bp_registration_needs_activation() ) {
     1125    if ( 'completed-confirmation' === $feedback_id && bp_get_membership_requests_required() ) {
     1126        $feedback_messages['completed-confirmation']['message'] = __( 'You have successfully submitted your membership request! Our site moderators will review your submission and send you an activation email if your request is approved.', 'buddypress' );
     1127    } elseif ( 'completed-confirmation' === $feedback_id && bp_registration_needs_activation() ) {
    11261128        $feedback_messages['completed-confirmation']['message'] = __( 'You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.', 'buddypress' );
    11271129    } elseif ( 'member-notifications-none' === $feedback_id ) {
Note: See TracChangeset for help on using the changeset viewer.