[buddypress-trac] [BuddyPress Trac] #6312: post_type_support - ajax changes the activity entry action
buddypress-trac
noreply at wordpress.org
Tue Mar 24 23:34:45 UTC 2015
#6312: post_type_support - ajax changes the activity entry action
----------------------------------+------------------------------
Reporter: shanebp | Owner: imath
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Component - Activity | Version: 2.2.1
Severity: normal | Resolution:
Keywords: reporter-feedback |
----------------------------------+------------------------------
Comment (by imath):
that's because the component_id for `groups_record_activity()` is 'groups'
and the component you've set in the 'bp_activity' parameter of your cpt is
'activity', you can try to use :
{{{
'bp_activity' => array(
'component_id' => buddypress()->groups->id,
....
}}}
Thanks for your feedback about the fact using the labels is fixing your
ajax issue. I'll run some other tests tomorrow for the page post type &&
`bp_activity_set_post_type_tracking_args()`.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6312#comment:9>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list