[wp-trac] [WordPress Trac] #41450: sanitize_text_field() assumes the field is a string

WordPress Trac noreply at wordpress.org
Sun Oct 22 12:37:11 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:  has-patch dev-feedback  |     Focuses:
------------------------------------+------------------------------
Changes (by Mte90):

 * keywords:  needs-patch 2nd-opinion => has-patch dev-feedback


Comment:

 This patch contain a check with `is_string` with unit test for a string
 that is not a string.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41450#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list