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

buddypress-trac noreply at wordpress.org
Fri Mar 28 16:52:15 UTC 2014


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

Comment (by r-a-y):

 `04.patch` addresses:

 - `bp_blogs_remove_associated_blog_comments()` now supports a
 `$force_delete` argument.  If this is false, the comments are trashed
 instead of deleted.  This is used in
 `bp_blogs_sync_delete_from_activity_comment()` using `current_user_can(
 'moderate_comments' )`.

 - Mirroring of close comments / threaded comment depth options to
 blogmeta.  See `bp_blogs_comment_open()`, which does the blogmeta
 mirroring and the actual post age calculation.  There's a tiny issue in
 `bp_blogs_comment_open()`; I have commented out the part of the code in
 question, which relies on a check with on the actual post type.  We
 currently don't mirror the post type in activity meta at the moment, so we
 can't do such a check.  Let me know what you think about this.

 I think this solves the majority of problems.  Let me know what else needs
 to be addressed.

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


More information about the buddypress-trac mailing list