Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/29/2011 10:18:26 PM (13 years ago)
Author:
boonebgorges
Message:

Ensures links are constructed with trailing slash in forums and friends components. See #3779

File:
1 edited

Legend:

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

    r5302 r5416  
    7070    switch ( $action ) {
    7171        case 'friendship_accepted':
    72             $link = bp_loggedin_user_domain() . bp_get_friends_slug() . '/my-friends/newest';
     72            $link = trailingslashit( bp_loggedin_user_domain() . bp_get_friends_slug() . '/my-friends/newest' );
    7373
    7474            // Set up the string and the filter
     
    8484
    8585        case 'friendship_request':
    86             $link = bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests?new';
     86            $link = bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/?new';
    8787
    8888            // Set up the string and the filter
Note: See TracChangeset for help on using the changeset viewer.