mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-05 03:09:08 -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:
@@ -50,7 +50,7 @@ class Digibug_Controller extends Controller {
|
||||
"image_width_1" => $item->width,
|
||||
"thumb_height_1" => $item->thumb_height,
|
||||
"thumb_width_1" => $item->thumb_width,
|
||||
"title_1" => p::purify($item->title));
|
||||
"title_1" => SafeString::purify($item->title));
|
||||
|
||||
print $v;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user