Open davidperezgar opened 1 month ago
Please see the bug report template to include the necessary details so that the report can be processed - what version of PHPCS, WPCS, the violation code, the minimal snippet, current behaviour, expected behaviour, etc.
A user is reporting in Plugin Check Plugin using WPCS Sanitize check, a possible false positive with the function
rest_is_ip_address
.The code shared was this:
You can see it in this support post
I believe that this function does not need to have sanitized data as is checking if it's a correct IP.