[wp-trac] [WordPress Trac] #30238: Treat 'FALSE' as false in wp_validate_boolean()

WordPress Trac noreply at wordpress.org
Mon Nov 3 15:54:44 UTC 2014


#30238: Treat 'FALSE' as false in wp_validate_boolean()
----------------------------------------+---------------------------
 Reporter:  TobiasBg                    |       Owner:  boonebgorges
     Type:  enhancement                 |      Status:  closed
 Priority:  normal                      |   Milestone:  4.1
Component:  General                     |     Version:  4.0
 Severity:  normal                      |  Resolution:  fixed
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"30207"]:
 {{{
 #!CommitTicketReference repository="" revision="30207"
 Ignore case when checking string 'false' in `wp_validate_boolean()`.

 Props TobiasBg, kitchin.
 Fixes #30238.
 }}}

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


More information about the wp-trac mailing list