Changeset 11400
- Timestamp:
- 01/25/2017 09:28:36 PM (8 years ago)
- Location:
- trunk/src/bp-xprofile/classes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-checkbox.php
r10855 r11400 157 157 $new_html = sprintf( '<label for="%3$s" class="option-label"><input %1$s type="checkbox" name="%2$s" id="%3$s" value="%4$s">%5$s</label>', 158 158 $selected, 159 esc_attr( "field_{$this->field_obj->id}[]"),159 esc_attr( bp_get_the_profile_field_input_name() . '[]' ), 160 160 esc_attr( "field_{$options[$k]->id}_{$k}" ), 161 161 esc_attr( stripslashes( $options[$k]->name ) ), -
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-radiobutton.php
r10855 r11400 135 135 $new_html = sprintf( '<label for="%3$s" class="option-label"><input %1$s type="radio" name="%2$s" id="%3$s" value="%4$s">%5$s</label>', 136 136 $selected, 137 esc_attr( "field_{$this->field_obj->id}"),137 esc_attr( bp_get_the_profile_field_input_name() ), 138 138 esc_attr( "option_{$options[$k]->id}" ), 139 139 esc_attr( stripslashes( $options[$k]->name ) ),
Note: See TracChangeset
for help on using the changeset viewer.