Changeset 9329 for trunk/src/bp-xprofile/bp-xprofile-classes.php
- Timestamp:
- 01/09/2015 06:34:41 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/bp-xprofile-classes.php
r9324 r9329 3625 3625 * @param string $value Class name for the current class instance. 3626 3626 */ 3627 $r = (array) apply_filters( 'bp_xprofile_field_edit_html_elements', $r, get_class( $this ) ); 3628 3629 foreach ( $r as $name => $value ) { 3630 $html .= sprintf( '%s="%s" ', sanitize_key( $name ), esc_attr( $value ) ); 3631 } 3632 3633 return $html; 3627 $r = (array) apply_filters( 'bp_xprofile_field_edit_html_elements', $r, get_class( $this ) ); 3628 3629 return bp_get_form_field_attributes( sanitize_key( bp_get_the_profile_field_name() ), $r ); 3634 3630 } 3635 3631 }
Note: See TracChangeset
for help on using the changeset viewer.