Skip to content

Make the Escaped Output sniff smarter #33

@westonruter

Description

@westonruter

The sniff needs more logic to determine safe output

echo 'Some Raw String';  //Causes no escaping function warning
_e( $some_nasty_var );  //No warning
echo apply_filters( 'the_content', $post->post_content );  //Causing no escaping function warning

Reported by @c3mdigital

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions