mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-18 14:13:46 +09:00
Compatibility with upcoming User Tags extension
This commit is contained in:
+3
-1
@@ -1559,7 +1559,9 @@ class UM_Fields {
|
||||
|
||||
$v = rtrim($v);
|
||||
|
||||
if ( is_string( $k ) ) {
|
||||
$use_keyword = apply_filters('um_multiselect_option_value', 0, $data['type'] );
|
||||
|
||||
if ( $use_keyword ) {
|
||||
$opt_value = $k;
|
||||
} else {
|
||||
$opt_value = $v;
|
||||
|
||||
Reference in New Issue
Block a user