[wp-trac] [WordPress Trac] #54160: sanitize_key() / _wp_customize_include() is not able to handle non-scalar values

WordPress Trac noreply at wordpress.org
Sat Sep 25 19:47:51 UTC 2021


#54160: sanitize_key() / _wp_customize_include() is not able to handle non-scalar
values
--------------------------+---------------------
 Reporter:  dd32          |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.9
Component:  Formatting    |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------

Comment (by jrf):

 @dd32 This is a known issue which is also causing PHP 8.1 deprecation
 notices when `null` would be passed.

 @hellofromTonya and me recently discussed the notorious lack of input
 validation in WordPress during our livestream:
 https://www.youtube.com/watch?v=rrU15JwjBZ8

 Would be great to have you join this conversation to get to a point where
 we can architect a more structural solution for all such issue in WP (and
 there are many!).

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


More information about the wp-trac mailing list