Changeset 12951
- Timestamp:
- 05/17/2021 11:57:00 PM (3 years ago)
- Location:
- trunk/src
- Files:
-
- 1 added
- 2 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-members/actions/invitations-bulk-manage.php
r12938 r12951 25 25 $action = ! empty( $_POST['invitation_bulk_action'] ) ? $_POST['invitation_bulk_action'] : ''; 26 26 $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'] : ''; 28 28 29 29 // Bail if no action or no IDs. -
trunk/src/bp-members/bp-members-template.php
r12935 r12951 3292 3292 3293 3293 // Add the nonce. 3294 $url = wp_nonce_url( $url, 'bp_ network_invitation_resend_' . $id );3294 $url = wp_nonce_url( $url, 'bp_members_invitation_resend_' . $id ); 3295 3295 3296 3296 /** -
trunk/src/bp-members/classes/class-bp-members-component.php
r12936 r12951 145 145 if ( is_user_logged_in() && bp_is_user_members_invitations() ) { 146 146 // Actions. 147 if ( bp_is_post_request() ) {147 if ( isset( $_POST['members_invitations'] ) ) { 148 148 require $this->path . 'bp-members/actions/invitations-bulk-manage.php'; 149 149 } 150 150 151 151 // Screens. 152 if ( bp_is_user_members_invitations_list() ) { 153 require $this->path . 'bp-members/screens/list-invites.php'; 154 } else { 155 require $this->path . 'bp-members/screens/send-invites.php'; 156 } 152 require $this->path . 'bp-members/screens/invitations.php'; 157 153 } 158 154 } -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/invitations/invitations-loop.php
r12935 r12951 37 37 <td class="bulk-select-check"> 38 38 <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"> 40 40 <span class="bp-screen-reader-text"> 41 41 <?php -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/invitations/send-invites.php
r12946 r12951 24 24 25 25 <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> 27 27 28 28 <input type="hidden" name="action" value="send-invite"> -
trunk/src/bp-templates/bp-nouveau/buddypress/members/single/invitations/invitations-loop.php
r12921 r12951 35 35 <td class="bulk-select-check"> 36 36 <label for="<?php bp_the_members_invitation_property( 'id', 'attribute' ); ?>"> 37 <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">37 <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"> 38 38 <span class="bp-screen-reader-text"> 39 39 <?php -
trunk/src/bp-templates/bp-nouveau/buddypress/members/single/invitations/send-invites.php
r12946 r12951 28 28 <?php esc_html_e( 'Add a personalized message to the invitation (optional)', 'buddypress' ); ?> 29 29 </label> 30 <textarea id="bp_members_invitation_message" name=" invite_message"></textarea>30 <textarea id="bp_members_invitation_message" name="content"></textarea> 31 31 32 32 <input type="hidden" name="action" value="send-invite">
Note: See TracChangeset
for help on using the changeset viewer.