mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
Merge remote-tracking branch 'remotes/origin/fix_is_selected'
This commit is contained in:
@@ -868,6 +868,10 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
||||
$field_value = 0;
|
||||
}
|
||||
|
||||
if( $field_value == 0 && $value == '0' ){
|
||||
$value = (int)$value;
|
||||
}
|
||||
|
||||
if ( $key == 'role' ) {
|
||||
|
||||
$role_keys = get_option( 'um_roles' );
|
||||
|
||||
Reference in New Issue
Block a user