Opened 4 years ago
Closed 4 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: | |
---|---|---|---|
Milestone: | 6.0.0 | Priority: | high |
Severity: | normal | Version: | 5.2.0 |
Component: | REST API | 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
@
4 years ago
- Keywords has-patch added
- Milestone changed from Awaiting Review to 6.0.0
Thanks for your feedback @modemlooper Let's have it fixed for 6.0.0
#3
@
4 years ago
- Resolution set to fixed
- Status changed from new to closed
Fixed from the BP REST API GH repo. See https://github.com/buddypress/BP-REST/commit/d15ddf91bca72139f5af1db77949339c09a79d51
Made a PR https://github.com/buddypress/BP-REST/pull/303/commits/75fa02b6c8ad9cc2291b4dec15bd44229e863085