From a7de06d280c33c3a00fb807dbca12b95edc09d98 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 13 Sep 2020 19:53:03 -0400 Subject: [PATCH] Add deprecation notice on Strings::escapeTags --- src/Util/Strings.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Util/Strings.php b/src/Util/Strings.php index 1d440c19b..9d4a8212f 100644 --- a/src/Util/Strings.php +++ b/src/Util/Strings.php @@ -68,6 +68,7 @@ class Strings * * @param string $string Input string * @return string Filtered string + * @deprecated since 2020.09 Please use Smarty default HTML escaping for templates or htmlspecialchars() otherwise */ public static function escapeTags($string) {