[wp-trac] [WordPress Trac] #54160: sanitize_key() / _wp_customize_include() is not able to handle non-scalar values
WordPress Trac
noreply at wordpress.org
Fri Dec 10 21:19:29 UTC 2021
#54160: sanitize_key() / _wp_customize_include() is not able to handle non-scalar
values
----------------------------------------+-----------------------------
Reporter: dd32 | Owner: hellofromTonya
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 6.0
Component: Formatting | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+-----------------------------
Changes (by hellofromTonya):
* milestone: 5.9 => 6.0
Comment:
Moving this back to 6.0.
Why? Passing anything other than a string key is doing it wrong. There's
not a backwards-compatibility break. Rather, the improvement in 5.9 fixed
a bug of allowing non-strings to pass through it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54160#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list