envato / envato-theme-check

The WordPress Theme Check plugin for Envato
GNU General Public License v2.0
208 stars 57 forks source link

False positive for Found mail( #33

Closed webbudesign closed 4 years ago

webbudesign commented 5 years ago

screen shot 2018-12-11 at 12 45 58 am

Hello, plugin giving a false error on text and sanitize_email function.

webbudesign commented 5 years ago

Also, I found one more false positive on Email word. Here is screenshot: screen shot 2018-12-11 at 12 58 11 am

scottparry commented 5 years ago

I'll have a look into this. Having said that, all that looks like plugin territory functionality anyway.

webbudesign commented 5 years ago

Ok but setEmail is not about email function of WordPress. It is a function name. For example, if I use a function name with letsdoemail(something) system will give an error and this is false positive.

scottparry commented 5 years ago

Yeah, I see that. Will look into the cause.