[wp-trac] [WordPress Trac] #41450: sanitize_text_field() assumes the field is a string
WordPress Trac
noreply at wordpress.org
Sun Jan 27 14:56:44 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: has-patch dev-feedback | Focuses:
------------------------------------+-----------------------
Comment (by ocean90):
@jadpm I'm assuming that you mean the boolean `true` since `false` was
already returning an empty string. So the change is that
`sanitize_text_field( true )` no longer returns `"1"`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41450#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list