Skip to content

Commit 567b87f

Browse files
Update src/admin/SparxstarUECAdmin.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 3a10558 commit 567b87f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/admin/SparxstarUECAdmin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,12 +195,12 @@ public function render_snapshot_viewer_section(): void
195195
'This is the most recent data collected by the plugin for your user account. The snapshot ID is',
196196
'sparxstar-user-environment-check'
197197
),
198-
isset($snapshot['id']) ? esc_html((string) $snapshot['id']) : esc_html__('unknown', 'sparxstar-user-environment-check'),
198+
esc_html((string) $snapshot['id']),
199199
esc_html__(
200200
'last updated on',
201201
'sparxstar-user-environment-check'
202202
),
203-
isset($snapshot['updated_at']) ? esc_html((string) $snapshot['updated_at']) : esc_html__('an unknown date', 'sparxstar-user-environment-check')
203+
esc_html((string) $snapshot['updated_at'])
204204
);
205205

206206
echo '<pre style="background-color: #f1f1f1; padding: 15px; border-radius: 4px; max-height: 500px; overflow: auto;"><code>';

0 commit comments

Comments
 (0)