From: Hypolite Petovan Date: Sun, 13 Sep 2020 23:53:03 +0000 (-0400) Subject: Add deprecation notice on Strings::escapeTags X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a7de06d280c33c3a00fb807dbca12b95edc09d98;p=friendica.git Add deprecation notice on Strings::escapeTags --- diff --git a/src/Util/Strings.php b/src/Util/Strings.php index 1d440c19b7..9d4a8212f6 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) {