[wp-trac] [WordPress Trac] #41810: Add the sanitization function for checkboxes

WordPress Trac noreply at wordpress.org
Mon Jan 8 08:15:43 UTC 2018


#41810: Add the sanitization function for checkboxes
-------------------------------------------+------------------------------
 Reporter:  Mirucon                        |       Owner:
     Type:  feature request                |      Status:  new
 Priority:  normal                         |   Milestone:  Awaiting Review
Component:  Options, Meta APIs             |     Version:  4.9
 Severity:  normal                         |  Resolution:
 Keywords:  has-patch needs-testing close  |     Focuses:
-------------------------------------------+------------------------------
Changes (by danieltj):

 * keywords:  has-patch needs-testing 2nd-opinion => has-patch needs-testing
     close


Comment:

 Reviving this ticket. After the discussion above, I think it's worth
 closing this as `sanitize_text_field()` works fine for check boxes as it
 is. I don't think a wrapper function is needed here. Suggest closing.

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


More information about the wp-trac mailing list