[wp-trac] [WordPress Trac] #48549: wp_kses_attr_check: add isset before accessing array key
WordPress Trac
noreply at wordpress.org
Sat Dec 14 15:51:46 UTC 2019
#48549: wp_kses_attr_check: add isset before accessing array key
---------------------------+-----------------------------
Reporter: tristanleboss | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.4
Component: Formatting | Version: 5.2.4
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
---------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"46959" 46959]:
{{{
#!CommitTicketReference repository="" revision="46959"
Formatting: Return early from `wp_kses_attr_check()` if the element is not
in the list of allowed elements and attributes.
Props krynes, tristanleboss.
Fixes #48549.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48549#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list