mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-16 21:23:39 +09:00
- fixed roles fields;
This commit is contained in:
@@ -1661,7 +1661,7 @@ if ( ! class_exists( 'um\core\User' ) ) {
|
||||
if ( ! in_array( $key, $this->update_user_keys ) ) {
|
||||
update_user_meta( $this->id, $key, $value );
|
||||
} else {
|
||||
$args[$key] = esc_attr( $changes['role_radio'] );
|
||||
$args[ $key ] = esc_attr( $changes[ $key ] );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user