mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-19 19:09:13 -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:
@@ -6,7 +6,7 @@
|
||||
<body>
|
||||
<h2><?= t("Password Reset Request") ?> </h2>
|
||||
<p>
|
||||
<?= t("Hello, %name,", array("name" => p::clean($user->full_name ? $user->full_name : $user->name))) ?>
|
||||
<?= t("Hello, %name,", array("name" => $user->full_name ? $user->full_name : $user->name)) ?>
|
||||
</p>
|
||||
<p>
|
||||
<?= t("We received a request to reset your password for <a href=\"%site_url\">%site_url</a>. If you made this request, you can confirm it by <a href=\"%confirm_url\">clicking this link</a>. If you didn't request this password reset, it's ok to ignore this mail.", array("site_url" => url::base(false, "http"), "confirm_url" => $confirm_url)) ?>
|
||||
|
||||
Reference in New Issue
Block a user