Changeset 12092
- Timestamp:
- 05/15/2018 10:01:20 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/includes/members/template-tags.php
r12082 r12092 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 }
Note: See TracChangeset
for help on using the changeset viewer.