Changeset 10941 for trunk/src/bp-friends/bp-friends-notifications.php
- Timestamp:
- 07/10/2016 09:46:27 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-friends/bp-friends-notifications.php
r10587 r10941 32 32 return; 33 33 } 34 35 $unsubscribe_args = array( 36 'user_id' => $friend_id, 37 'notification_type' => 'friends-request', 38 ); 34 39 35 40 $args = array( … … 41 46 'initiator.url' => esc_url( bp_core_get_user_domain( $initiator_id ) ), 42 47 'initiator.name' => bp_core_get_user_displayname( $initiator_id ), 48 'unsubscribe' => esc_url( bp_email_get_unsubscribe_link( $unsubscribe_args ) ), 43 49 ), 44 50 ); … … 63 69 return; 64 70 } 71 72 $unsubscribe_args = array( 73 'user_id' => $initiator_id, 74 'notification_type' => 'friends-request-accepted', 75 ); 65 76 66 77 $args = array( … … 71 82 'friendship.id' => $friendship_id, 72 83 'initiator.id' => $initiator_id, 84 'unsubscribe' => esc_url( bp_email_get_unsubscribe_link( $unsubscribe_args ) ), 73 85 ), 74 86 );
Note: See TracChangeset
for help on using the changeset viewer.