Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #56434, comment 10


Ignore:
Timestamp:
08/28/2022 11:37:05 PM (3 years ago)
Author:
peterwilsoncc
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56434, comment 10

    initial v1  
    1 `$_POST` and `$_GET` can be either a string or an array and it's beyond the control of the developer. As a visitor I can change `?t=thing` to ?t[]=thing` and the type will be an array.
     1`$_POST` and `$_GET` can be either a string or an array and it's beyond the control of the developer. As a visitor I can change `?t=thing` to `?t[]=thing` and the type will be an array.
    22
    33I am not saying WPCS is the right tool for determining type. I am saying WordPress is the right tool to make sanitization of user data as simple as possible for extenders in order to encourage them to use it.