mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
* fixed #1546 via wrapping custom HTML in iframe block;
This commit is contained in:
@@ -1148,3 +1148,14 @@ small.um-max-filesize span{
|
||||
float: none;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.um-textarea-html-value {
|
||||
border: none;
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow: auto;
|
||||
max-height: none;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -260,7 +260,7 @@ function um_profile_field_filter_hook__textarea( $value, $data ) {
|
||||
return '';
|
||||
}
|
||||
if ( ! empty( $data['html'] ) ) {
|
||||
return $value;
|
||||
return '<iframe class="um-textarea-html-value" title="' . esc_attr( $data['label'] ) . '" srcdoc="' . wp_kses_post( $value ) .'"></iframe>';
|
||||
}
|
||||
|
||||
$description_key = UM()->profile()->get_show_bio_key( UM()->fields()->global_args );
|
||||
|
||||
@@ -224,6 +224,7 @@ IMPORTANT: PLEASE UPDATE THE PLUGIN TO AT LEAST VERSION 2.6.7 IMMEDIATELY. VERSI
|
||||
* Fixed: Sorting by last login value when "Hide my last login" is set
|
||||
* Fixed: PHP errors while uploading files
|
||||
* Fixed: Parsing error on the license activation
|
||||
* Fixed: Saving field value when type is textarea and using HTML is enabled
|
||||
|
||||
**Templates required update**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user