]> git.mxchange.org Git - friendica.git/commitdiff
Add deprecation notice on Strings::escapeTags
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 13 Sep 2020 23:53:03 +0000 (19:53 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 14 Sep 2020 00:01:55 +0000 (20:01 -0400)
src/Util/Strings.php

index 1d440c19b7eede0aef7e7cd9b8ec13aea6df6c3c..9d4a8212f6221faefaf460fb968db1d8dbddffd4 100644 (file)
@@ -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)
        {