Skip to content

ee()->security->xss_clean($str) still mentioned even though deprecated #929

@jcogs-design

Description

@jcogs-design

Description of the problem
EE Developer logs dutifully reports things like ...

Deprecated function xss_clean() called in
/home/catnet/system/user/addons/cat_world_domination/pi.cat_world_domination.php
on line 48.

From template tag
exp:cat_world_domination:__construct
in [malicious/rumours](https://do.lolwot.com/wp-content/uploads/2015/06/20-of-the-most-evil-cats-youll-ever-see-1.jpg).

Deprecated since 3.0. Use ee('Security/XSS')->clean() instead.

However EE Documentation makes no such notification in the documentation for xss_clean()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions