[buddypress-trac] [BuddyPress Trac] #7685: Add missing context to bp_xprofile_field_get_children filter
buddypress-trac
noreply at wordpress.org
Mon Feb 5 08:37:40 UTC 2018
#7685: Add missing context to bp_xprofile_field_get_children filter
------------------------------+-----------------------------
Reporter: Offereins | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Extended Profile | Version:
Severity: normal | Keywords: has-patch
------------------------------+-----------------------------
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.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7685>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list