#7236 closed defect (bug) (fixed)
Comments in Groups can not be deleted
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.7 | Priority: | normal |
| Severity: | normal | Version: | 1.5 |
| Component: | Activity | Keywords: | |
| Cc: |
Description
We have a spceil site configuration (network/actifity) and than comments in groups can't be deleted because the link is false.
That can be fixed if you switch the function bp_get_activity_slug() to bp_get_activity_root_slug() in bp_get_activity_comment_delete_link() https://buddypress.trac.wordpress.org/browser/trunk/src/bp-activity/bp-activity-template.php#L2100
Change History (5)
#2
in reply to:
↑ 1
@
9 years ago
Replying to DJPaul:
Thanks for creating a ticket, @danielhuesken.
Looking at that function next to
bp_activity_get_permalink, it does look like this method should be using theroot_slugfunction, not the other one (which I think is intended for.com/user/activity/). Can someone just sanity check my understanding, and I'll go ahead and make the change?
Yup, looks right to me.
Thanks for creating a ticket, @danielhuesken.
Looking at that function next to
bp_activity_get_permalink, it does look like this method should be using theroot_slugfunction, not the other one (which I think is intended for.com/user/activity/). Can someone just sanity check my understanding, and I'll go ahead and make the change?