[wp-trac] [WordPress Trac] #57021: Sanitize should accept broader types
WordPress Trac
noreply at wordpress.org
Wed Feb 7 18:44:09 UTC 2024
#57021: Sanitize should accept broader types
-------------------------+-------------------------------
Reporter: kkmuffme | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 6.2
Severity: normal | Resolution:
Keywords: has-patch | Focuses: coding-standards
-------------------------+-------------------------------
Comment (by swissspidy):
The expectation here is that the caller should be doing this initial
sanity check. I don't think it's scaleable for core to add these
`is_string()` checks everywhere.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57021#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list