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:

Description

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

Came with: https://core.trac.wordpress.org/changeset/56707

Fix: https://github.com/WordPress/wordpress-develop/pull/6285

Change History (1)

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


4 months ago
#1

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: https://core.trac.wordpress.org/ticket/60793

Note: See TracTickets for help on using tickets.