mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-22 17:29:57 -04:00
Refactor all calls of p::clean() to SafeString::of() and p::purify() to SafeString::purify().
Removing any p::clean() calls for arguments to t() and t2() since their args are wrapped in a SafeString anyway.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<ul>
|
||||
<? foreach ($entries as $entry): ?>
|
||||
<li class="<?= log::severity_class($entry->severity) ?>" style="direction: ltr">
|
||||
<a href="<?= url::site("user/$entry->user_id") ?>"><?= p::clean($entry->user->name) ?></a>
|
||||
<a href="<?= url::site("user/$entry->user_id") ?>"><?= SafeString::of($entry->user->name) ?></a>
|
||||
<?= gallery::date_time($entry->timestamp) ?>
|
||||
<?= $entry->message ?>
|
||||
<?= $entry->html ?>
|
||||
|
||||
Reference in New Issue
Block a user