Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/08/2015 12:50:20 PM (11 years ago)
Author:
dcavins
Message:

Change placement of invite nonce and submit.

Move the nonce input and the submit button out of
invites-loop.php (which is refreshed when new
invitations are created or existing invites are
removed) to the wrapper file send-invites.php.

Fixes #5924.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/single/send-invites.php

    r9819 r9854  
    1818            <?php bp_get_template_part( 'groups/single/invites-loop' ); ?>
    1919        </div>
     20
     21        <div class="submit">
     22            <input type="submit" name="submit" id="submit" value="<?php esc_attr_e( 'Send Invites', 'buddypress' ); ?>" />
     23        </div>
     24
     25        <?php wp_nonce_field( 'groups_send_invites', '_wpnonce_send_invites' ); ?>
    2026
    2127        <?php /* This is important, don't forget it */ ?>
Note: See TracChangeset for help on using the changeset viewer.