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

WordPress Trac noreply at wordpress.org
Wed Sep 6 09:09:03 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 Mirucon):

 Ahh yes, that is the why this sanitization function is needed. There's no
 reason to be anything since it is a checkbox. It should only be
 representing on or off.

 So, should the checkboxes on theme customizer return true / false, or on /
 off?

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


More information about the wp-trac mailing list