[buddypress-trac] [BuddyPress Trac] #7134: bp_blogs_can_comment_reply() uses wrong method when checking activity comment depth

buddypress-trac noreply at wordpress.org
Tue Jun 21 22:29:15 UTC 2016


#7134: bp_blogs_can_comment_reply() uses wrong method when checking activity
comment depth
--------------------------+-----------------------
 Reporter:  r-a-y         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  2.7
Component:  Blogs         |    Version:  2.0
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------
 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.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7134>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list