[wp-trac] [WordPress Trac] #63727: A new function to sanitize an array
WordPress Trac
noreply at wordpress.org
Mon Jul 21 20:16:00 UTC 2025
#63727: A new function to sanitize an array
-------------------------------------------------+-------------------------
Reporter: davidperez | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Security | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests 2nd- | Focuses:
opinion |
-------------------------------------------------+-------------------------
Changes (by jorbin):
* component: General => Security
Comment:
Thanks for starting this discussion @davidperez.
Moving into the security component since this is about sanitation
functions.
I'm not sure if this is a good idea since a function that attempts to
automagically detect how an input is meant to be used is going to provide
a lower amount of safety vs a developer making an active decision based on
how the input is actually used.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63727#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list