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/invitations-loop.php

    r12935 r12951  
    3737                    <td class="bulk-select-check">
    3838                        <label for="<?php bp_the_members_invitation_property( 'id', 'attribute' ); ?>">
    39                             <input id="<?php bp_the_members_invitation_property( 'id', 'attribute' ); ?>" type="checkbox" name="network_invitations[]" value="<?php bp_the_members_invitation_property( 'id', 'attribute' ); ?>" class="invitation-check">
     39                            <input id="<?php bp_the_members_invitation_property( 'id', 'attribute' ); ?>" type="checkbox" name="members_invitations[]" value="<?php bp_the_members_invitation_property( 'id', 'attribute' ); ?>" class="invitation-check">
    4040                            <span class="bp-screen-reader-text">
    4141                                <?php
Note: See TracChangeset for help on using the changeset viewer.