Skip to:
Content

BuddyPress.org

Opened 10 years ago

Closed 10 years ago

#7415 closed defect (bug) (fixed)

Add bp_parse_args filter key to bp_activity_get_specific

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

Description

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 10 years ago.
Attached diff

Download all attachments as: .zip

Change History (4)

@pareshradadiya
10 years ago

Attached diff

#1 @pareshradadiya
10 years ago

  • Keywords has-patch added

#2 @DJPaul
10 years ago

  • Milestone Awaiting Review → 2.8

Yep!

#3 @djpaul
10 years ago

  • Owner set to djpaul
  • Resolution → fixed
  • Status new → 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.