Skip to:
Content

BuddyPress.org

Opened 7 years ago

Closed 7 years ago

#7685 closed enhancement (fixed)

Add missing context to bp_xprofile_field_get_children filter

Reported by: offereins's profile Offereins Owned by: offereins's profile 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 7 years ago.

Download all attachments as: .zip

Change History (3)

@Offereins
7 years ago

#1 @DJPaul
7 years ago

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

Makes sense, looks fine.

#2 @offereins
7 years 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.