Skip to content

Commit

Permalink
fix: fix property case in error log
Browse files Browse the repository at this point in the history
  • Loading branch information
Dartui committed Jul 16, 2024
1 parent e7c3680 commit 63d2e7f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions resources/templates/debug/error-log.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
echo esc_html(
date_i18n(
$get('datetime_format'),
strtotime($log->timeLogged)
// phpcs:ignore Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps
strtotime($log->time_logged)
)
);
?>
Expand All @@ -62,7 +63,8 @@
sprintf(
// translators: Time ago.
__('%s ago'),
human_time_diff(strtotime($log->timeLogged))
// phpcs:ignore Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps
human_time_diff(strtotime($log->time_logged))
)
);
?>
Expand Down

0 comments on commit 63d2e7f

Please sign in to comment.