mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-17 21:53:43 +09:00
Version 1.0.51
This commit is contained in:
@@ -424,6 +424,10 @@ class UM_Fields {
|
||||
|
||||
if ( um_user( $key ) && $this->editing == true ) {
|
||||
|
||||
if ( strstr($key, 'role_') ) {
|
||||
$key = 'role';
|
||||
}
|
||||
|
||||
if ( um_user( $key ) == $value ) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user