mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- fixed asc attr for wp_editor field (issue #318);
This commit is contained in:
@@ -81,7 +81,7 @@ if ( ! class_exists( 'Admin_Forms' ) ) {
|
||||
$data['value'] = wp_unslash( $data['value'] );
|
||||
|
||||
/*for multi_text*/
|
||||
if ( !is_array( $data['value'] ) ) {
|
||||
if ( ! is_array( $data['value'] ) && $data['type'] != 'wp_editor' ) {
|
||||
$data['value'] = esc_attr( $data['value'] );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user