mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-16 18:32:07 -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:
@@ -64,10 +64,10 @@ class gallery_task_Core {
|
||||
if (!$success) {
|
||||
$ignored[$item->id] = 1;
|
||||
$errors[] = t("Unable to rebuild images for '%title'",
|
||||
array("title" => p::purify($item->title)));
|
||||
array("title" => SafeString::purify($item->title)));
|
||||
} else {
|
||||
$errors[] = t("Successfully rebuilt images for '%title'",
|
||||
array("title" => p::purify($item->title)));
|
||||
array("title" => SafeString::purify($item->title)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user