[buddypress-trac] [BuddyPress Trac] #6777: Typo in bp_activity_set_post_type_tracking_args()

buddypress-trac noreply at wordpress.org
Tue Dec 15 22:21:24 UTC 2015


#6777: Typo in bp_activity_set_post_type_tracking_args()
----------------------------------+------------------------------
 Reporter:  danbrellis            |       Owner:
     Type:  defect (bug)          |      Status:  new
 Priority:  normal                |   Milestone:  Awaiting Review
Component:  Component - Activity  |     Version:  2.2
 Severity:  minor                 |  Resolution:
 Keywords:  needs-patch           |
----------------------------------+------------------------------
Changes (by imath):

 * version:  2.4.0 => 2.2


Comment:

 @dcavins

 Yes sorry for this typo error. This function is not used by BuddyPress
 internally but is there for plugins wishing to add BuddyPress Post type
 activities: https://codex.buddypress.org/plugindev/post-types-activities
 /#customizing-generic-activity-attributes

 The goal was to avoid having the labels inside the array (like
 'bp_activity_admin_filter' ) to only have them in `$wp_post_types[
 $post_type ]->labels` and not "repeated" inside $wp_post_types[ $post_type
 ]->bp_activity.

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


More information about the buddypress-trac mailing list