[wp-trac] [WordPress Trac] #41450: sanitize_text_field() assumes the field is a string
WordPress Trac
noreply at wordpress.org
Tue Aug 29 17:31:49 UTC 2017
#41450: sanitize_text_field() assumes the field is a string
-------------------------------------+------------------------------
Reporter: johnbillion | Owner:
Type: defect (bug) | Status: new
Priority: low | Milestone: Awaiting Review
Component: Formatting | Version: 2.9
Severity: normal | Resolution:
Keywords: needs-patch 2nd-opinion | Focuses:
-------------------------------------+------------------------------
Comment (by NathanAtmoz):
`sanitize_textarea_field` has the same issue. Should both functions check
whether the input is a string independently, or should
`_sanitize_text_fields` do it?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41450#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list