Changeset 10317 for trunk/src/bp-activity/bp-activity-template.php
- Timestamp:
- 10/28/2015 08:47:48 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-template.php
r10253 r10317 4047 4047 break; 4048 4048 case 'checkbox' : 4049 printf( '<label style="" >%1$s<input type="checkbox" name="%2$s[]" value="%3$s" %4$s/></label>', esc_html( $description), esc_attr( $args['checkbox_name'] ), esc_attr( $type ), $checked );4049 printf( '<label style="" for="%1$s[]">%2$s<input type="checkbox" id="%1$s[]" name="%1$s[]" value="%3$s" %4$s/></label>', esc_attr( $args['checkbox_name'] ), esc_html( $description ), esc_attr( $args['checkbox_name'] ), esc_attr( $args['checkbox_name'] ), esc_attr( $type ), $checked ); 4050 4050 break; 4051 4051 }
Note: See TracChangeset
for help on using the changeset viewer.