mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Remove notices
This commit is contained in:
@@ -42,7 +42,7 @@ class UM_Admin_Roles {
|
||||
$role = $post->post_name;
|
||||
}
|
||||
$data = $ultimatemember->query->role_data($role);
|
||||
if ( $data['can_access_wpadmin'] ){
|
||||
if ( isset( $data['can_access_wpadmin'] ) ){
|
||||
echo '<span class="um-adm-ico um-admin-tipsy-n" title="'.__('This role can access the WordPress backend','ultimatemember').'"><i class="um-faicon-check"></i></span>';
|
||||
} else {
|
||||
echo __('No','ultimatemember');
|
||||
|
||||
Reference in New Issue
Block a user