Skip to:
Content

BuddyPress.org

#7685 closed enhancement (fixed)

Add missing context to bp_xprofile_field_get_children filter

Reported by: Offereins Owned by: offereins
Milestone: 3.0 Priority: normal
Severity: normal Version:
Component: Extended Profile Keywords: has-patch commit
Cc: lmoffereins@…

Description

The bp_xprofile_field_get_children filter in BP_XProfile_Field::get_children() does not allow for filtering per-field children, because there is no solid way to know what the current field is. I propose to provide the this context as a third parameter for this cause.

Attachments (1)

7685.01.patch (985 bytes) - added by Offereins 21 months ago.

Download all attachments as: .zip

Change History (3)

@Offereins
21 months ago

#1 @DJPaul
21 months ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 3.0

Makes sense, looks fine.

#2 @offereins
21 months ago

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

In 11845:

XProfile: add context to filtering a profile field's children.

Adds the this context parameter to the bp_xprofile_field_get_children
filter in BP_XProfile_Field::get_children().

Fixes #7685.

Signed-off-by: Laurens Offereins <lmoffereins@…>

Note: See TracTickets for help on using tickets.