Changeset 4638 for trunk/bp-groups/bp-groups-notifications.php
- Timestamp:
- 07/09/2011 10:58:18 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-notifications.php
r4605 r4638 17 17 $to = $ud->user_email; 18 18 19 $group_link = site_url( $bp->groups->slug. '/' . $group->slug );20 $settings_link = bp_core_get_user_domain( $user_id ) . BP_SETTINGS_SLUG. '/notifications/';19 $group_link = site_url( bp_get_groups_root_slug(). '/' . $group->slug ); 20 $settings_link = bp_core_get_user_domain( $user_id ) . bp_get_settings_slug() . '/notifications/'; 21 21 22 22 $message = sprintf( __( … … 59 59 $group_requests = bp_get_group_permalink( $group ) . 'admin/membership-requests'; 60 60 $profile_link = bp_core_get_user_domain( $requesting_user_id ); 61 $settings_link = bp_core_get_user_domain( $requesting_user_id ) . BP_SETTINGS_SLUG. '/notifications/';61 $settings_link = bp_core_get_user_domain( $requesting_user_id ) . bp_get_settings_slug() . '/notifications/'; 62 62 63 63 // Set up and send the message … … 108 108 109 109 $group_link = bp_get_group_permalink( $group ); 110 $settings_link = bp_core_get_user_domain( $requesting_user_id ) . BP_SETTINGS_SLUG. '/notifications/';110 $settings_link = bp_core_get_user_domain( $requesting_user_id ) . bp_get_settings_slug() . '/notifications/'; 111 111 112 112 // Set up and send the message … … 168 168 169 169 $group_link = bp_get_group_permalink( $group ); 170 $settings_link = bp_core_get_user_domain( $user_id ) . BP_SETTINGS_SLUG. '/notifications/';170 $settings_link = bp_core_get_user_domain( $user_id ) . bp_get_settings_slug() . '/notifications/'; 171 171 172 172 // Set up and send the message … … 216 216 $invited_ud = bp_core_get_core_userdata($invited_user_id); 217 217 218 $settings_link = bp_core_get_user_domain( $invited_user_id ) . BP_SETTINGS_SLUG. '/notifications/';218 $settings_link = bp_core_get_user_domain( $invited_user_id ) . bp_get_settings_slug() . '/notifications/'; 219 219 $invited_link = bp_core_get_user_domain( $invited_user_id ); 220 220 $invites_link = $invited_link . $bp->groups->slug . '/invites'; … … 276 276 277 277 $message_link = bp_activity_get_permalink( $activity_id ); 278 $settings_link = bp_core_get_user_domain( $receiver_user_id ) . BP_SETTINGS_SLUG. '/notifications/';278 $settings_link = bp_core_get_user_domain( $receiver_user_id ) . bp_get_settings_slug() . '/notifications/'; 279 279 280 280 $poster_name = stripslashes( $poster_name );
Note: See TracChangeset
for help on using the changeset viewer.