[wp-trac] [WordPress Trac] #43312: wp-includes\kses.php
WordPress Trac
noreply at wordpress.org
Wed Feb 14 10:23:21 UTC 2018
#43312: wp-includes\kses.php
--------------------------+--------------------
Reporter: andrei0x309 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.9.5
Component: Formatting | Version: 4.9.4
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+--------------------
Changes (by SergeyBiryukov):
* component: General => Formatting
* milestone: Awaiting Review => 4.9.5
Comment:
Hi @andrei0x309, welcome to WordPress Trac! Thanks for the report.
To clarify, the suggested change is to replace `count( $allowed_html[
strtolower( $element ) ] ) == 0` with `empty( $allowed_html[ strtolower(
$element ) ] )`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43312#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list