Changeset 1815 for trunk/bp-friends/bp-friends-notifications.php
- Timestamp:
- 09/07/2009 08:42:59 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-friends/bp-friends-notifications.php
r1715 r1815 12 12 $initiator_ud = get_userdata( $initiator_id ); 13 13 14 $all_requests_link = site_url( BP_MEMBERS_SLUG . '/' . $ud->user_login . '/friends/requests/' );15 $settings_link = site_url( BP_MEMBERS_SLUG . '/' . $ud->user_login . '/settings/notifications' );14 $all_requests_link = bp_core_get_user_domain( $friend_id ) . 'friends/requests/'; 15 $settings_link = bp_core_get_user_domain( $friend_id ) . 'settings/notifications'; 16 16 17 $initiator_link = site_url( BP_MEMBERS_SLUG . '/' . $initiator_ud->user_login . '/profile');17 $initiator_link = bp_core_get_user_domain( $initiator_id ); 18 18 19 19 // Set up and send the message … … 49 49 50 50 $ud = get_userdata( $initiator_id ); 51 $friend_ud = get_userdata( $friend_id );52 51 53 $friend_link = site_url() . '/' . BP_MEMBERS_SLUG . '/' . $friend_ud->user_login;54 $settings_link = site_url() . '/' . BP_MEMBERS_SLUG . '/' . $ud->user_login . '/settings/notifications';52 $friend_link = bp_core_get_user_domain( $friend_id ); 53 $settings_link = bp_core_get_user_domain( $initiator_id ) . 'settings/notifications'; 55 54 56 55 // Set up and send the message
Note: See TracChangeset
for help on using the changeset viewer.