- Timestamp:
- 05/02/2018 04:46:28 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/includes/groups/template-tags.php
r12008 r12039 357 357 } 358 358 } 359 360 wp_nonce_field( $core_screen['nonce'] );361 359 } 362 360 } … … 414 412 } 415 413 414 /** 415 * Avoid nested forms with the Backbone views for the group invites step. 416 */ 417 if ( 'group-invites' === bp_get_groups_current_create_step() ) { 418 printf( 419 '<form action="%s" method="post" enctype="multipart/form-data">', 420 bp_get_group_creation_form_action() 421 ); 422 } 423 424 if ( ! empty( $core_screen['nonce'] ) ) { 425 wp_nonce_field( $core_screen['nonce'] ); 426 } 427 416 428 printf( 417 429 '<input type="hidden" name="group-id" id="group-id" value="%s" />', … … 437 449 */ 438 450 do_action( 'bp_directory_groups_content' ); 451 } 452 453 /** 454 * Avoid nested forms with the Backbone views for the group invites step. 455 */ 456 if ( 'group-invites' === bp_get_groups_current_create_step() ) { 457 echo '</form>'; 439 458 } 440 459 }
Note: See TracChangeset
for help on using the changeset viewer.