[buddypress-trac] [BuddyPress] #3296: Pass $activity_obj in bp_activity_get_permalink()

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Jun 22 12:43:43 UTC 2011

#3296: Pass $activity_obj in bp_activity_get_permalink()
  Reporter:  r-a-y     |      Owner:
      Type:  defect    |     Status:  closed
  Priority:  normal    |  Milestone:  1.3
 Component:  Activity  |    Version:  1.3
Resolution:  fixed     |   Keywords:  has-patch

Comment (by boonebgorges):

 No. apply_filters_ref_array() differs from apply_filters only in the way
 that filter arguments are passed. So

 apply_filters_ref_array( 'bp_activity_get_permalink', array( $activity_id,
 &$activity_obj ) );
 is the same as
 apply_filters( 'bp_activity_get_permalink', $activity_id, &$activity_obj

 Just tested with some filters on my local install and it's working as

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3296#comment:5>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list