[buddypress-trac] [BuddyPress] #3478: Can't display multiple checkboxes in xprofile fields

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat Aug 13 21:38:17 UTC 2011


#3478: Can't display multiple checkboxes in xprofile fields
------------------------+-----------------------------
 Reporter:  ptahdunbar  |      Owner:
     Type:  defect      |     Status:  new
 Priority:  normal      |  Milestone:  Awaiting Review
Component:  Core        |    Version:  1.5
 Severity:  normal      |   Keywords:  has-patch
------------------------+-----------------------------
 When creating a multi-checkbox field in BuddyPress, it only displays the
 first option.

 This is due to a $count variable resetting the parent $count value within
 a nested for loop in ``bp_get_the_profile_field_options()``.

 Patch creates a unique name for the nested count variable, fixes the bug
 so it actually displays all the fields.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3478>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list