Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/17/2021 11:57:00 PM (3 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-legacy/buddypress/members/single/invitations/send-invites.php

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