[buddypress-trac] [BuddyPress] #4106: Custom Post Type Comments not showing in Activity Stream
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Fri Mar 30 06:17:24 UTC 2012
#4106: Custom Post Type Comments not showing in Activity Stream
--------------------------+-----------------------------
Reporter: bofw | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Core | Version: 1.5.4
Severity: normal | Keywords:
--------------------------+-----------------------------
Hi Guys
Working on custom post types at the moment, but can’t get comments on them
to appear in the activity stream.
This code will have the post appear but not the comments.
{{{
function activity_publish_custom_post_types($cpts) {
$cpts[] = 'galleries';
$cpts[] = 'downloads';
return $cpts;
}
add_filter ( 'bp_blogs_record_post_post_types',
'activity_publish_custom_post_types' );
add_filter ( 'bp_blogs_record_comment_post_types',
'activity_publish_custom_post_types' );
}}}
Any IDeas?
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4106>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list