Opened 10 years ago
Closed 10 years ago
#7250 closed enhancement (fixed)
Allow bp_parse_arg filters to be used on the WP-Admin Activities page.
| Reported by: | rekmla | Owned by: | boonebgorges |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7 |
| Component: | Activity | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Thanks for the suggestion!
bp_activity_get()was converted to usebp_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'.