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-members/actions/invitations-bulk-manage.php

    r12938 r12951  
    2525    $action      = ! empty( $_POST['invitation_bulk_action'] ) ? $_POST['invitation_bulk_action'] : '';
    2626    $nonce       = ! empty( $_POST['invitations_bulk_nonce'] ) ? $_POST['invitations_bulk_nonce'] : '';
    27     $invitations = ! empty( $_POST['network_invitations']    ) ? $_POST['network_invitations']    : '';
     27    $invitations = ! empty( $_POST['members_invitations']    ) ? $_POST['members_invitations']    : '';
    2828
    2929    // Bail if no action or no IDs.
Note: See TracChangeset for help on using the changeset viewer.