Make WordPress Core

Opened 4 months ago

Last modified 4 months ago

#60793 new defect (bug)

wp_trigger error has a wrong wp_kses $allowed_html arguement.

Reported by: nico23's profile nico23 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.4
Component: Formatting Keywords: has-patch
Focuses: Cc:


Elements and attributes need to be array keys, not values.

Came with:


Change History (1)

This ticket was mentioned in PR #6285 on WordPress/wordpress-develop by @nico23.

4 months ago

Fix wp_kses allowed_html argument.

wp_kses does not work like this, I tested attributes on nightly with false and empty strings, even that works. But it's all about that things have to be keys.

Trac ticket:

Note: See TracTickets for help on using tickets.