[buddypress-trac] [BuddyPress Trac] #6482: Comment syncing between activity and post comments for Custom Post Types

buddypress-trac noreply at wordpress.org
Sun Feb 7 16:29:53 UTC 2016


#6482: Comment syncing between activity and post comments for Custom Post Types
------------------------------------+-----------------------
 Reporter:  shanebp                 |       Owner:  imath
     Type:  enhancement             |      Status:  assigned
 Priority:  normal                  |   Milestone:  2.5
Component:  Component - Blogs       |     Version:  2.2
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |
------------------------------------+-----------------------

Comment (by imath):

 In [changeset:"10542"]:
 {{{
 #!CommitTicketReference repository="" revision="10542"
 Post Type Activities: allow post types to register comments tracking

 When registering a post type, it is now possible to inform BuddyPress the
 comments about this post type need to be tracked into the activity stream.
 This can be achieved by making sure the post type supports "comments" and
 "buddypress-activity" and by adding extra parameters to the "bp_activity"
 argument of the `register_post_type()` function one or by using the
 `bp_activity_set_post_type_tracking_args()` function.

 We are also introducing a new function to inform if an activity type is
 supporting a specific feature: `bp_activity_type_supports()`. For now this
 function is helping to check if:
 - a activity supports a an activity comment
 - an activity comment supports synchronization with a post type comment

 Props shanebp, r-a-y.

 See #6482
 }}}

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


More information about the buddypress-trac mailing list