Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#3523 closed enhancement (fixed)

add $selected parameter to bp_get_the_profile_field_options_* filters

Reported by: sboisvert Owned by:
Priority: trivial Milestone: 1.5
Component: Extended Profile Version:
Severity: trivial Keywords: has-patch
Cc:

Description

This is a simple patch that passes the already calculated value of $selected to the filters that handle displaying field_options.

Attachments (2)

add_selected_field_options.patch (3.3 KB ) - added by sboisvert 15 years ago.
add_selected_field_options_with_fieldID.patch (3.3 KB ) - added by sboisvert 15 years ago.

Download all attachments as: .zip

Change History (5)

#1 @sboisvert
15 years ago

My bad, the second patch should supersede the first, it passes the field->id parameters to the filter for radio and checkbox as well as the $k parameter for checkboxes.

Last edited 15 years ago by sboisvert (previous) (diff)

#2 @boonebgorges
15 years ago

  • Milestone Awaiting Review1.5
  • Priority normaltrivial
  • Severity minortrivial

#3 @boonebgorges
15 years ago

  • Resolutionfixed
  • Status newclosed

(In [5045]) Passes additional values to filters in bp_get_the_profile_field_options(). Fixes #3523. Props sboisvert

Note: See TracTickets for help on using tickets.