diff --git src/bp-templates/bp-nouveau/includes/members/template-tags.php src/bp-templates/bp-nouveau/includes/members/template-tags.php
index d2f0f6af5..cd541e298 100644
|
|
function bp_nouveau_members_loop_buttons( $args = array() ) { |
364 | 364 | ); |
365 | 365 | |
366 | 366 | // If button element set add nonce link to data attr |
367 | | if ( 'button' === $button_element ) { |
| 367 | if ( 'button' === $button_element && 'awaiting_response' !== $button_args['id'] ) { |
368 | 368 | $buttons['member_friendship']['button_attr']['data-bp-nonce'] = $button_args['link_href']; |
369 | 369 | } else { |
| 370 | $buttons['member_friendship']['button_element'] = 'a'; |
370 | 371 | $buttons['member_friendship']['button_attr']['href'] = $button_args['link_href']; |
371 | 372 | } |
372 | 373 | |