Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/09/2011 10:58:18 PM (14 years ago)
Author:
boonebgorges
Message:

Cleans up use of BP_x_SLUG, replacing with wrapper functions where possible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-friends/bp-friends-notifications.php

    r4602 r4638  
    1212    $initiator_ud = get_userdata( $initiator_id );
    1313
    14     $all_requests_link = bp_core_get_user_domain( $friend_id ) . BP_FRIENDS_SLUG . '/requests/';
    15     $settings_link = bp_core_get_user_domain( $friend_id ) .  BP_SETTINGS_SLUG . '/notifications';
     14    $all_requests_link = bp_core_get_user_domain( $friend_id ) . bp_get_friends_slug() . '/requests/';
     15    $settings_link = bp_core_get_user_domain( $friend_id ) .  bp_get_settings_slug() . '/notifications';
    1616
    1717    $initiator_link = bp_core_get_user_domain( $initiator_id );
     
    5757
    5858    $friend_link = bp_core_get_user_domain( $friend_id );
    59     $settings_link = bp_core_get_user_domain( $initiator_id ) .  BP_SETTINGS_SLUG . '/notifications';
     59    $settings_link = bp_core_get_user_domain( $initiator_id ) . bp_get_settings_slug() . '/notifications';
    6060
    6161    // Set up and send the message
Note: See TracChangeset for help on using the changeset viewer.