[buddypress-trac] [BuddyPress Trac] #6312: post_type_support - ajax changes the activity entry action

buddypress-trac noreply at wordpress.org
Tue Mar 24 16:36:00 UTC 2015


#6312: post_type_support - ajax changes the activity entry action
----------------------------------+------------------------------
 Reporter:  shanebp               |       Owner:
     Type:  defect (bug)          |      Status:  new
 Priority:  normal                |   Milestone:  Awaiting Review
Component:  Component - Activity  |     Version:  2.2.1
 Severity:  normal                |  Resolution:
 Keywords:                        |
----------------------------------+------------------------------

Comment (by shanebp):

 I'm not creating a component.
 But instead of defaulting to 'activity', setting component_id to be the
 same as the filter name seems to fix the problem. Ajax no longer switches
 the displayed activity action to the generic one.


 {{{
     bp_activity_set_post_type_tracking_args( 'event', array(
         'component_id'             => 'events',
     ...
 }}}

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


More information about the buddypress-trac mailing list