~vcs-imports/buddypress/trunk

Viewing all changes in revision 9867.

  • Committer: imath
  • Date: 2021-06-12 11:26:49 UTC
  • Revision ID: svn-v4:cdf35c40-ae34-48e0-9cc9-0c9da1808c22:trunk:12972
BP Nouveau: apply the activity content filter the right way

Inside the BP Nouveau Template pack, the `bp_nouveau_ajax_get_single_activity_content()` function was applying the `'bp_get_activity_content_body'` filter using the wrong function and wasn't passing the second parameter of the filter:

- Instead of using `apply_filters()` it should use `apply_filters_ref_array()`.
- The filter parameters should also include the Activity object passed by reference.

Props sbrajesh

See #8485 (trunk)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: