Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/01/2011 07:46:50 PM (14 years ago)
Author:
johnjamesjacoby
Message:

Use bp_get_root_domain() in place of $bp->root_domain global

File:
1 edited

Legend:

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

    r3903 r3982  
    851851    else {
    852852        if ( 'activity_comment' == $activity_obj->type )
    853             $link = $bp->root_domain . '/' . $bp->activity->root_slug . '/p/' . $activity_obj->item_id . '/';
     853            $link = bp_get_root_domain() . '/' . $bp->activity->root_slug . '/p/' . $activity_obj->item_id . '/';
    854854        else
    855             $link = $bp->root_domain . '/' . $bp->activity->root_slug . '/p/' . $activity_obj->id . '/';
     855            $link = bp_get_root_domain() . '/' . $bp->activity->root_slug . '/p/' . $activity_obj->id . '/';
    856856    }
    857857
Note: See TracChangeset for help on using the changeset viewer.