Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/22/2016 09:10:09 PM (8 years ago)
Author:
r-a-y
Message:

Activity: Move activity anchor addition from bp_get_activity_comment_permalink() to bp_get_activity_permalink().

See #7135.

File:
1 edited

Legend:

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

    r10869 r10894  
    30313031    } else {
    30323032        if ( 'activity_comment' == $activity_obj->type ) {
    3033             $link = bp_get_root_domain() . '/' . bp_get_activity_root_slug() . '/p/' . $activity_obj->item_id . '/';
     3033            $link = bp_get_root_domain() . '/' . bp_get_activity_root_slug() . '/p/' . $activity_obj->item_id . '/#acomment-' . $activity_obj->id;
    30343034        } else {
    30353035            $link = bp_get_root_domain() . '/' . bp_get_activity_root_slug() . '/p/' . $activity_obj->id . '/';
Note: See TracChangeset for help on using the changeset viewer.