diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 3a1abfd418..3d6aac5a2a 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -670,7 +670,7 @@ function user_row( $user_object, $style = '', $role = '' ) { } else { $edit = $user_object->user_login; } - $role_name = translate_with_context($wp_roles->role_names[$role]); + $role_name = $wp_roles->role_names[$role] ? translate_with_context($wp_roles->role_names[$role]) : __('None'); $r = "