[buddypress-trac] [BuddyPress Trac] #6630: Issue posting comment on links using buddypress

buddypress-trac noreply at wordpress.org
Tue Sep 22 12:55:17 UTC 2015


#6630: Issue posting comment on links using buddypress
---------------------------------------+----------------------
 Reporter:  camaro4d                   |       Owner:
     Type:  defect (bug)               |      Status:  closed
 Priority:  high                       |   Milestone:
Component:  Not sure                   |     Version:  2.3.3
 Severity:  major                      |  Resolution:  invalid
 Keywords:  needs-patch needs-testing  |
---------------------------------------+----------------------
Changes (by boonebgorges):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 I looked into this a bit. There's a bug in the buddypress-links plugin.
 The function signature of `bp_links_dtheme_activity_custom_update()` looks
 like this:

 {{{
 function bp_links_dtheme_activity_custom_update( $object, $item_id,
 $content )
 }}}

 but it should look like this:

 {{{
 function bp_links_dtheme_activity_custom_update( $check, $object,
 $item_id, $content )
 }}}

 where `$check` is the `false` value sent to the
 'bp_activity_custom_update' filter, which should be replaced by the
 activity ID. (The corresponding `add_filter()` call should also expect 4
 arguments rather than 3.)

 I'm closing this as it's not a BP bug, but please feel free to direct the
 developer to this ticket if he's got any questions.

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


More information about the buddypress-trac mailing list