[buddypress-trac] [BuddyPress Trac] #6971: Params for bp_get_activity_content_body filter should be the same whatever the context
buddypress-trac
noreply at wordpress.org
Thu Dec 29 02:08:10 UTC 2016
#6971: Params for bp_get_activity_content_body filter should be the same whatever
the context
--------------------------+---------------------------
Reporter: imath | Owner: boonebgorges
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 2.8
Component: Activity | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch |
--------------------------+---------------------------
Changes (by boonebgorges):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"11351"]:
{{{
#!CommitTicketReference repository="" revision="11351"
`bp_get_activity_content_body` filter should receive same params in all
contexts.
This changeset makes all instances of `bp_get_activity_content_body`
consistent by ensuring that they all receive the activity object
as a second parameter. This requires switching to
`apply_filters_ref_array()`,
so that the second param can always be passed by reference.
Props sanket.parmar.
Fixes #6971.
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6971#comment:7>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list