Opened 6 years ago
Closed 6 years ago
#8282 closed defect (bug) (fixed)
ACTIVITY API ENDPOINT - bp_get_activity_content_body filter missing second object param
| Reported by: | modemlooper | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | 6.0.0 |
| Component: | REST API | Version: | 5.2.0 |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
This causes a fatal error if you filter bp_get_activity_content_body and access the activity endpoint: buddypress/v1/activity
Second param missing here:
https://github.com/buddypress/BuddyPress/blob/master/src/bp-activity/bp-activity-template.php#L1403
For reference:
https://github.com/buddypress/BuddyPress/blob/master/src/bp-activity/bp-activity-template.php#L1403
Change History (3)
#2
@
6 years ago
- Keywords has-patch added
- Milestone Awaiting Review → 6.0.0
Thanks for your feedback @modemlooper Let's have it fixed for 6.0.0
#3
@
6 years ago
- Resolution → fixed
- Status new → closed
Fixed from the BP REST API GH repo. See https://github.com/buddypress/BP-REST/commit/d15ddf91bca72139f5af1db77949339c09a79d51
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Made a PR https://github.com/buddypress/BP-REST/pull/303/commits/75fa02b6c8ad9cc2291b4dec15bd44229e863085