mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- fixed HTML validation for user description field in header;
- fixed escaping HTML in user description field;
This commit is contained in:
@@ -439,6 +439,8 @@ if ( ! class_exists( 'um\core\Profile' ) ) {
|
||||
}
|
||||
|
||||
if ( $bio_html ) {
|
||||
$data['html'] = true;
|
||||
$value = um_filtered_value( $key, $data );
|
||||
$res = wp_kses_post( make_clickable( wpautop( $value ) ) );
|
||||
} else {
|
||||
$res = esc_html( $value );
|
||||
|
||||
Reference in New Issue
Block a user