mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
Merge remote-tracking branch 'remotes/origin/fix/multi_select_apostrophe_issue#689'
This commit is contained in:
@@ -763,7 +763,9 @@ function um_profile_field_filter_xss_validation( $value, $data, $type = '' ) {
|
||||
}
|
||||
|
||||
if ( ! empty( $arr ) && empty( $data['custom_dropdown_options_source'] ) ) {
|
||||
$value = array_intersect( $value, array_map( 'trim', $arr ) );
|
||||
$arr = wp_unslash( $arr );
|
||||
$arr = wp_slash( array_map( 'trim', $arr ) );
|
||||
$value = array_intersect( $value, $arr );
|
||||
}
|
||||
|
||||
if ( $option_pairs ) {
|
||||
|
||||
Reference in New Issue
Block a user