diff --git a/src/bp-groups/bp-groups-notifications.php b/src/bp-groups/bp-groups-notifications.php
index 0db8ba228..aebb1cc49 100644
|
a
|
b
|
function groups_notification_group_invites( &$group, &$member, $inviter_user_id |
| 358 | 358 | 'group' => $group, |
| 359 | 359 | 'group.url' => bp_get_group_permalink( $group ), |
| 360 | 360 | 'group.name' => $group->name, |
| 361 | | 'inviter.name' => bp_core_get_userlink( $inviter_user_id, true, false, true ), |
| | 361 | 'inviter.name' => bp_core_get_userlink( $inviter_user_id, true, false ), |
| 362 | 362 | 'inviter.url' => bp_core_get_user_domain( $inviter_user_id ), |
| 363 | 363 | 'inviter.id' => $inviter_user_id, |
| 364 | 364 | 'invites.url' => esc_url( $invited_link . '/invites/' ), |
diff --git a/src/bp-members/bp-members-functions.php b/src/bp-members/bp-members-functions.php
index 00eaa8c2f..c266fa252 100644
|
a
|
b
|
function bp_core_get_userlink_by_email( $email ) { |
| 537 | 537 | * |
| 538 | 538 | * @param string|bool $value URL for the user if found, otherwise false. |
| 539 | 539 | */ |
| 540 | | return apply_filters( 'bp_core_get_userlink_by_email', bp_core_get_userlink( $user->ID, false, false, true ) ); |
| | 540 | return apply_filters( 'bp_core_get_userlink_by_email', bp_core_get_userlink( $user->ID, false, false ) ); |
| 541 | 541 | } |
| 542 | 542 | |
| 543 | 543 | /** |
| … |
… |
function bp_core_get_userlink_by_username( $username ) { |
| 564 | 564 | * |
| 565 | 565 | * @param string|bool $value URL for the user if found, otherwise false. |
| 566 | 566 | */ |
| 567 | | return apply_filters( 'bp_core_get_userlink_by_username', bp_core_get_userlink( $user_id, false, false, true ) ); |
| | 567 | return apply_filters( 'bp_core_get_userlink_by_username', bp_core_get_userlink( $user_id, false, false ) ); |
| 568 | 568 | } |
| 569 | 569 | |
| 570 | 570 | /** |
diff --git a/src/bp-members/classes/class-bp-members-invitation-manager.php b/src/bp-members/classes/class-bp-members-invitation-manager.php
index d5453dea2..f46462e7a 100644
|
a
|
b
|
public function run_send_action( BP_Invitation $invitation ) { |
| 72 | 72 | |
| 73 | 73 | $args = array( |
| 74 | 74 | 'tokens' => array( |
| 75 | | 'inviter.name' => bp_core_get_userlink( $invitation->inviter_id, true, false, true ), |
| | 75 | 'inviter.name' => bp_core_get_userlink( $invitation->inviter_id, true, false ), |
| 76 | 76 | 'inviter.url' => bp_core_get_user_domain( $invitation->inviter_id ), |
| 77 | 77 | 'inviter.id' => $invitation->inviter_id, |
| 78 | 78 | 'invite.accept_url' => esc_url( $invite_url ), |