[wp-trac] [WordPress Trac] #41450: sanitize_text_field() assumes the field is a string
WordPress Trac
noreply at wordpress.org
Thu Feb 7 23:00:31 UTC 2019
#41450: sanitize_text_field() assumes the field is a string
--------------------------+-----------------------
Reporter: johnbillion | Owner: pento
Type: defect (bug) | Status: reopened
Priority: low | Milestone: 5.1
Component: Formatting | Version: 2.9
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+-----------------------
Changes (by pento):
* keywords: has-patch => needs-patch
* status: closed => reopened
* resolution: fixed =>
Comment:
Good idea, thanks @Nick_theGeek!
For types that can be safely cast to a string, we can pretty easily do
that, which should help avoid the back compat issues.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41450#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list