[wp-trac] [WordPress Trac] #56025: wp_validate_boolean() not doing what it describes, causes issues with [video] shortcode

WordPress Trac noreply at wordpress.org
Wed Jun 22 13:52:45 UTC 2022


#56025: wp_validate_boolean() not doing what it describes, causes issues with
[video] shortcode
------------------------------------+------------------------------
 Reporter:  arnodeleeuw             |       Owner:  (none)
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  General                 |     Version:  6.0
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+------------------------------
Changes (by karpstrucking):

 * keywords:   => has-patch dev-feedback
 * component:  Shortcodes => General


Comment:

 hey @arnodeleeuw !

 thanks for opening this ticket.

 I've uploaded a simple patch that addresses this for "off" and "no".

 devs: any value if making this list of false-y strings filterable?

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


More information about the wp-trac mailing list