Opened 9 years ago
Closed 9 years ago
#7134 closed defect (bug) (fixed)
bp_blogs_can_comment_reply() uses wrong method when checking activity comment depth
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.7 | Priority: | normal |
Severity: | normal | Version: | 2.0 |
Component: | Blogs | Keywords: | has-patch commit |
Cc: |
Description
If blog comment sync is enabled and the "Enable threaded comments X levels deep" option is checked under the dashboard's "Settings > Discussion" page, the activity comment "Reply" link does not accurately display.
The issue is when comparing WP comment depth to see if an activity entry can be commented to, the current method checks against the mptt_left
DB field. This isn't accurate.
We should use the bp_activity_get_comment_depth()
function instead.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Looks good to me