#7236 closed defect (bug) (fixed)
Comments in Groups can not be deleted
| Reported by: | danielhuesken | Owned by: | r-a-y |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7 |
| Component: | Activity | Version: | 1.5 |
| Severity: | normal | 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
@
10 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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?