[wp-trac] [WordPress Trac] #48955: WP 5.3.1 changes cause potential backwards compatibility breakage with kses
WordPress Trac
noreply at wordpress.org
Mon Dec 23 22:14:33 UTC 2019
#48955: WP 5.3.1 changes cause potential backwards compatibility breakage with kses
--------------------------+---------------------
Reporter: iCaleb | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.3.3
Component: Security | Version: 5.3.1
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+---------------------
Comment (by aduth):
Replying to [comment:22 xkon]:
> It seems that due to the mentioned hook `add_filter( 'pre_kses',
'wp_pre_kses_block_attributes', 10, 3 );` the `parse_blocks()` is running
everywhere throughout the admin. Is this expected behavior?
Yes. These screens use one or more of the `wp_kses` family of functions.
The default KSES behavior will now filter a markup string for block
content.
See also: comment:18
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48955#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list