- fix attrs in tags for html textarea

This commit is contained in:
ashubawork
2024-10-03 12:23:11 +03:00
parent a69435f15a
commit 19b7ef92b2
+1 -1
View File
@@ -262,7 +262,7 @@ function um_profile_field_filter_hook__textarea( $value, $data ) {
if ( ! empty( $data['html'] ) ) {
$height = isset( $data['height'] ) && absint( $data['height'] ) > 0 ? absint( $data['height'] ) : '';
return '<iframe class="um-textarea-html-value" onload="resizeIframe(this)" data-height="' . $height . '" title="' . esc_attr( $data['label'] ) . '" srcdoc="' . wp_kses_post( $value ) . '"></iframe>';
return '<iframe class="um-textarea-html-value" onload="resizeIframe(this)" data-height="' . $height . '" title="' . esc_attr( $data['label'] ) . '" srcdoc="' . wp_kses_post( esc_attr( $value ) ) . '"></iframe>';
}
$description_key = UM()->profile()->get_show_bio_key( UM()->fields()->global_args );