[buddypress-trac] [BuddyPress] #5130: Synchronizing activity comments to main component

buddypress-trac noreply at wordpress.org
Wed Aug 7 20:01:34 UTC 2013


#5130: Synchronizing activity comments to main component
-------------------------+--------------------
 Reporter:  r-a-y        |       Owner:  r-a-y
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  1.9
Component:  Core         |     Version:  1.2
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+--------------------

Comment (by boonebgorges):

 > I would suggest a more logical approach is that if someone leaves an
 activity reply to a blog post activity item, we only create the blog
 comment.

 I'm pretty sure that this is what the patch does. There are two scenarios:

 1) A WP comment is left on a blog. `bp_blogs_record_comment()` is then
 responsible for creating the `new_blog_comment` activity item. This is
 unchanged by r-a-y's patch.
 2) Someone leaves an activity comment on a `new_blog_post` or
 `new_blog_comment` item in the activity stream. Currently, BP does nothing
 with this. r-a-y's patch adds the enhancement that the activity comment is
 added as a WP Comment in the appropiate place in the comment thread of the
 blog post belonging to the parent activity id (oy, that's complicated).

 So, I don't see the redundancy. r-a-y's solution looks pretty direct to
 me. I might be missing something though.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5130#comment:4>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list