Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/29/2011 11:06:58 PM (15 years ago)
Author:
boonebgorges
Message:

Ensures links are constructed with trailing slash in groups, members, and messages components. See #3779

File:
1 edited

Legend:

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

    r5296 r5417  
    1919                $to = $ud->user_email;
    2020
    21                 $group_link    = site_url( bp_get_groups_root_slug(). '/' . $group->slug );
     21                $group_link    = bp_get_group_permalink( $group );
    2222                $settings_slug = function_exists( 'bp_get_settings_slug' ) ? bp_get_settings_slug() : 'settings';
    2323                $settings_link = bp_core_get_user_domain( $user_id ) . $settings_slug . '/notifications/';
     
    223223                $settings_link = bp_core_get_user_domain( $invited_user_id ) . bp_get_settings_slug() . '/notifications/';
    224224                $invited_link = bp_core_get_user_domain( $invited_user_id );
    225                 $invites_link = $invited_link . bp_get_groups_slug() . '/invites';
     225                $invites_link = trailingslashit( $invited_link . bp_get_groups_slug() . '/invites' );
    226226
    227227                // Set up and send the message
Note: See TracChangeset for help on using the changeset viewer.