Changeset 5801 for branches/1.5/bp-friends/bp-friends-notifications.php
- Timestamp:
- 02/17/2012 04:12:31 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.5/bp-friends/bp-friends-notifications.php
r4961 r5801 15 15 16 16 $all_requests_link = bp_core_get_user_domain( $friend_id ) . bp_get_friends_slug() . '/requests/'; 17 $settings_ link = bp_core_get_user_domain( $friend_id ) . bp_get_settings_slug() . '/notifications';18 19 $initiator_link = bp_core_get_user_domain( $initiator_id );17 $settings_slug = function_exists( 'bp_get_settings_slug' ) ? bp_get_settings_slug() : 'settings'; 18 $settings_link = bp_core_get_user_domain( $friend_id ) . $settings_slug . '/notifications'; 19 $initiator_link = bp_core_get_user_domain( $initiator_id ); 20 20 21 21 // Set up and send the message … … 58 58 $ud = get_userdata( $initiator_id ); 59 59 60 $friend_link = bp_core_get_user_domain( $friend_id ); 61 $settings_link = bp_core_get_user_domain( $initiator_id ) . bp_get_settings_slug() . '/notifications'; 60 $friend_link = bp_core_get_user_domain( $friend_id ); 61 $settings_slug = function_exists( 'bp_get_settings_slug' ) ? bp_get_settings_slug() : 'settings'; 62 $settings_link = bp_core_get_user_domain( $initiator_id ) . $settings_slug . '/notifications'; 62 63 63 64 // Set up and send the message
Note: See TracChangeset
for help on using the changeset viewer.