I am having trouble with xss_clean. My logs tell me it is depreciated but I don’t see in the docs what to use instead. When I try to search for “ee(‘Security/XSS’)->clean()” in the docs, nothing comes up. I do find xss_clean in the legacy software page of the docs, but it does not refer me to what I should use instead.
https://docs.expressionengine.com/latest/development/guidelines/security.html#cross-site-scripting-xss
Please point me in the right direction.
Log Error Message: “Deprecated function xss_clean() called in system/expressionengine/libraries/Functions.php(627) : eval()’d code on line 51. Deprecated since 3.0. Use ee(‘Security/XSS’)->clean() instead.”
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.