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

WordPress Trac noreply at wordpress.org
Wed Sep 6 18:50:31 UTC 2017


#41810: Add the sanitization function for checkboxes
-----------------------------+------------------------------
 Reporter:  Mirucon          |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+------------------------------

Comment (by danieltj):

 Recently I've worked with plugin settings and the checkbox values always
 return on for checked and false (nothing) for unchecked, so I'd say that
 we should be checking to see if it is on and if not, then consider it
 off/unchecked.

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


More information about the wp-trac mailing list