Skip to:

Opened 6 years ago

Closed 6 years ago

#7415 closed defect (bug) (fixed)

Add bp_parse_args filter key to bp_activity_get_specific

Reported by: pareshradadiya's profile pareshradadiya Owned by: djpaul's profile djpaul
Milestone: 2.8 Priority: normal
Severity: normal Version:
Component: Activity Keywords: has-patch


The attached patch adds a activity_get_specific filter key to the bp_activity_get_specific args.

It would be nice if the bp_activity_get_specific had an available filter key, before the activities items was returned.

I am currently trying to set spam=ham_only with include in bp_ajax_querystring, but as far as I can tell, the plugin author doesn't have a way to set spam=ham_only when include parameter has been set. This patch would allow that.

Attachments (1)

7415.diff (537 bytes) - added by pareshradadiya 6 years ago.
Attached diff

Download all attachments as: .zip

Change History (4)

6 years ago

Attached diff

#1 @pareshradadiya
6 years ago

  • Keywords has-patch added

#2 @DJPaul
6 years ago

  • Milestone changed from Awaiting Review to 2.8


#3 @djpaul
6 years ago

  • Owner set to djpaul
  • Resolution set to fixed
  • Status changed from new to closed

In 11399:

Activity: add pre/post filters to bp_activity_get_specific arguments.

Fixes #7415

Props pareshradadiya

Note: See TracTickets for help on using tickets.