Skip to:

Opened 8 years ago

Closed 8 years ago

#7250 closed enhancement (fixed)

Allow bp_parse_arg filters to be used on the WP-Admin Activities page.

Reported by: rekmla's profile rekmla Owned by: boonebgorges's profile boonebgorges
Milestone: 2.7 Priority: normal
Severity: normal Version:
Component: Activity Keywords:


Currently, the function bp_activity_get() does not fully support bp_parse_args() since it does not pass the filter_key parameter.

It would be very helpful if this function passed 'has_activities' or some/any other value in the filter_key parameter of bp_parse_args() so that we can write a filter that works on the WP-Admin Activities page.

Change History (2)

#1 @boonebgorges
8 years ago

  • Milestone changed from Awaiting Review to 2.7

Thanks for the suggestion! bp_activity_get() was converted to use bp_parse_args() in [8710], but the identifier was not properly added at that time.

'has_activities' is already in use by bp_has_activities(). Let's use 'activity_get'.

#2 @boonebgorges
8 years ago

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

In 11078:

Activity: Pass unique identifier to bp_parse_args() filter in bp_activity_get().

Props rekmla.
Fixes #7250.

Note: See TracTickets for help on using tickets.