- fixed HTML validation for user description field in header;

- fixed escaping HTML in user description field;
This commit is contained in:
Mykyta Synelnikov
2023-08-15 23:52:40 +03:00
parent 999deb6145
commit 11c0a8ebf9
3 changed files with 41 additions and 9 deletions
+2
View File
@@ -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 );