user_get_trusted_devices($current_user->ID);
if (empty($trusted_devices)) {
echo ''.__('(none)', 'all-in-one-wp-security-and-firewall').'';
}
foreach ($trusted_devices as $device_id => $device) {
if (!isset($device['token']) || '' == $device['token']) continue;
$user_agent = empty($device['user_agent']) ? __('(unspecified)', 'all-in-one-wp-security-and-firewall'): $device['user_agent'];
echo ''.sprintf(__('User agent %s logged in from IP address %s and is trusted until %s', 'all-in-one-wp-security-and-firewall'), ''.htmlspecialchars($user_agent).'', ''.htmlspecialchars($device['ip']).'', ''.date_i18n(get_option('time_format').' '.get_option('date_format'), $device['until']).'').' - '.__('Remove trust', 'all-in-one-wp-security-and-firewall').'
';
}
?>