Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/17/2021 11:57:00 PM (4 years ago)
Author:
dcavins
Message:

Member Invites: Change screen file loading logic.

  • Move send and list invitations load actions to single screen file.

This avoids an issue where the current action isn't known
as of late_includes and could, in unusual cases, cause the
wrong screen file to be loaded.

  • Replace several vestigial 'network_invitations' mentions.

Props imath.

See #8139.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/invitations/send-invites.php

    r12946 r12951  
    2828            <?php esc_html_e( 'Add a personalized message to the invitation (optional)', 'buddypress' ); ?>
    2929        </label>
    30         <textarea id="bp_members_invitation_message" name="invite_message"></textarea>
     30        <textarea id="bp_members_invitation_message" name="content"></textarea>
    3131
    3232        <input type="hidden" name="action" value="send-invite">
Note: See TracChangeset for help on using the changeset viewer.