Skip to content

Include htmlspecialchars in list of escaping functions. #708

Open
@schlessera

Description

The PHP function htmlspecialchars is currently not recognized as a valid escaping function.

The function "converts special characters into HTML entities" (http://php.net/manual/en/function.htmlspecialchars.php).

It is actually what esc_textarea() is built upon.

It should be added to the list of escaping functions to be a valid way of getting rid of unneeded "Expected next thing to be an escaping function" errors.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions