[buddypress-trac] [BuddyPress Trac] #6306: custom post type support for activities
buddypress-trac
noreply at wordpress.org
Thu Mar 19 16:35:13 UTC 2015
#6306: custom post type support for activities
----------------------------------+-----------------------
Reporter: shanebp | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: Component - Activity | Version: 2.2.1
Severity: normal | Resolution:
Keywords: |
----------------------------------+-----------------------
Changes (by shanebp):
* status: closed => reopened
Comment:
Ok, thanks.
Meanwhile, it seems that the 'old' method of adding cpts post and comments
no longer adds comments to the activity stream. Is that not a bug?
{{{
function cpt_posts($post_types) {
$post_types[] = 'event';
return $post_types;
}
add_filter( 'bp_blogs_record_comment_post_types', 'cpt_posts' ); //
doesn't work
add_filter( 'bp_blogs_record_post_post_types', 'cpt_posts' ); // works
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6306#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list